MPLABĀ® Harmony Graphics Suite  GFX v3.13.0
Legato API Documentation
leColorModeInfo Struct Reference

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
 

Detailed Description

This struct represents color mode information.

Color mode information keeps track of size, bpp, color channel mask and color.

Field Documentation

◆ bpp

uint32_t bpp

bpp value.

◆ bppOrdinal

leBitsPerPixel bppOrdinal

bpp enum value.

◆ mask

struct { ... } mask

individual color mask.

◆ size

uint32_t size

size in bytes.


The documentation for this struct was generated from the following file: