![]()  | 
  
    MPLABĀ® Harmony Graphics Suite
    GFX v3.13.0
    
   Legato API Documentation 
   | 
 
This struct represents color mode information. More...
#include <C:/microchip/harmony3/gfx/middleware/legato/library/src/gfx/legato/common/legato_color.h>
Data Fields | |
| uint32_t | size | 
| uint32_t | bpp | 
| leBitsPerPixel | bppOrdinal | 
| struct { | |
| uint32_t red | |
| uint32_t green | |
| uint32_t blue | |
| uint32_t alpha | |
| } | mask | 
| struct { | |
| uint8_t red | |
| uint8_t green | |
| uint8_t blue | |
| uint8_t alpha | |
| } | shift | 
This struct represents color mode information.
Color mode information keeps track of size, bpp, color channel mask and color.
| uint32_t bpp | 
bpp value.
| leBitsPerPixel bppOrdinal | 
bpp enum value.
| struct { ... } mask | 
individual color mask.
| uint32_t size | 
size in bytes.