touchgfx::lookupNearestNeighborRenderVariant() function
@fn RenderingVariant lookupNearestNeighborRenderVariant(const Bitmap& bitmap); Returns the associated nearest neighbor render variant based on the bitmap format. Returns the associated nearest neighbor render variant based on the bitmap format.
Arguments
Return value
A RenderingVariant based on the bitmap format.
Type of touchgfx::lookupNearestNeighborRenderVariant()
touchgfx::lookupNearestNeighborRenderVariant()