MPLAB® Harmony Graphics Suite > Graphics Library > Aria Graphics Library > Aria Hardware Abstraction Layer (HAL) > Library Interface > b) Data Types and Constants > GFX_ColorModeInfo Structure
MPLAB® Harmony Graphics Suite
GFX_ColorModeInfo Structure

Structure: GFX_ColorModeInfo_t 

size - size in bytes bpp - bpp value bppOrdinal - bpp enum value masks - the masks used for extracting individual color channel information

C
typedef struct GFX_ColorModeInfo_t {
  uint32_t size;
  uint32_t bpp;
  GFX_BitsPerPixel bppOrdinal;
  struct masks {
    uint32_t red;
    uint32_t green;
    uint32_t blue;
    uint32_t alpha;
  } mask;
  struct shifts {
    uint8_t red;
    uint8_t green;
    uint8_t blue;
    uint8_t alpha;
  } shift;
} GFX_ColorModeInfo;
Remarks

None.

MPLAB® Harmony Graphics Suite