The Pedigree Project  0.1
Public Attributes | List of all members
Display::PixelFormat Struct Reference

#include <Display.h>

+ Collaboration diagram for Display::PixelFormat:

Public Attributes

uint8_t mRed
 Red mask.
 
uint8_t pRed
 Position of red field.
 
uint8_t mGreen
 Green mask.
 
uint8_t pGreen
 Position of green field.
 
uint8_t mBlue
 Blue mask.
 
uint8_t pBlue
 Position of blue field.
 
uint8_t mAlpha
 Alpha mask.
 
uint8_t pAlpha
 Position of the alpha field.
 
uint8_t nBpp
 Bits per pixel (total).
 
uint32_t nPitch
 Bytes per scanline.
 

Detailed Description

Describes the format of a pixel in a buffer.

Definition at line 55 of file Display.h.


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