touchgfx::RenderingVariant is only used within TouchGFX.
 
Symbols
loading...
Files
loading...

touchgfx::RenderingVariant

@typedef uint16_t RenderingVariant Describes a combination of rendering algorithm, image format, and alpha information. Describes a combination of rendering algorithm, image format, and alpha information. The lowest bit is 0 for "Nearest neighbor", 1 for "Bilinear". The next bit is "0" for "no alpha", "2" for "alpha". The rest is the Bitmap::Format shifted up by 2.

Syntax

typedef uint16_t RenderingVariant;

References

LocationReferrerScopeText
Types.hpp:914
typedef uint16_t RenderingVariant;
LCD.hpp:371touchgfx::LCD::drawTextureMapTriangle()::renderVarianttouchgfx::LCD::drawTextureMapTriangle()
RenderingVariant renderVariant,
LCD.hpp:409touchgfx::LCD::drawTextureMapScanLine()::renderVarianttouchgfx::LCD::drawTextureMapScanLine()
virtual void drawTextureMapScanLine(const DrawingSurface& dest, const Gradients& gradients, const Edge* leftEdge, const Edge* rightEdge, const TextureSurface& texture, const Rect& absoluteRect, const Rect& dirtyAreaAbsolute, RenderingVariant renderVariant, uint8_t alpha, uint16_t subDivisionLength) = 0;
LCD16bpp.hpp:193touchgfx::LCD16bpp::drawTextureMapScanLine()::renderVarianttouchgfx::LCD16bpp::drawTextureMapScanLine()
virtual void drawTextureMapScanLine(const DrawingSurface& dest, const Gradients& gradients, const Edge* leftEdge, const Edge* rightEdge, const TextureSurface& texture, const Rect& absoluteRect, const Rect& dirtyAreaAbsolute, RenderingVariant renderVariant, uint8_t alpha, uint16_t subDivisionSize);
LCD24bpp.hpp:195touchgfx::LCD24bpp::drawTextureMapScanLine()::renderVarianttouchgfx::LCD24bpp::drawTextureMapScanLine()
virtual void drawTextureMapScanLine(const DrawingSurface& dest, const Gradients& gradients, const Edge* leftEdge, const Edge* rightEdge, const TextureSurface& texture, const Rect& absoluteRect, const Rect& dirtyAreaAbsolute, RenderingVariant renderVariant, uint8_t alpha, uint16_t subDivisionSize);
ScalableImage.hpp:228touchgfx::ScalableImage::lookupRenderVariant() consttouchgfx::ScalableImage
RenderingVariant lookupRenderVariant() const;
Utils.hpp:101touchgfx::lookupNearestNeighborRenderVariant()touchgfx
Utils.hpp:114touchgfx::lookupBilinearRenderVariant()touchgfx
RenderingVariant lookupBilinearRenderVariant(const Bitmap& bitmap);