SDL  2.0
SDL_PixelFormat Struct Reference

#include <SDL_pixels.h>

+ Collaboration diagram for SDL_PixelFormat:

Data Fields

Uint32 format
SDL_Palettepalette
Uint8 BitsPerPixel
Uint8 BytesPerPixel
Uint8 padding [2]
Uint32 Rmask
Uint32 Gmask
Uint32 Bmask
Uint32 Amask
Uint8 Rloss
Uint8 Gloss
Uint8 Bloss
Uint8 Aloss
Uint8 Rshift
Uint8 Gshift
Uint8 Bshift
Uint8 Ashift
int refcount
struct SDL_PixelFormatnext

Detailed Description

Note
Everything in the pixel format structure is read-only.

Definition at line 315 of file SDL_pixels.h.

Field Documentation

Uint8 SDL_PixelFormat::Aloss
Uint8 SDL_PixelFormat::Ashift
Uint8 SDL_PixelFormat::Bloss
Uint8 SDL_PixelFormat::Gloss
struct SDL_PixelFormat* SDL_PixelFormat::next

Definition at line 335 of file SDL_pixels.h.

Referenced by SDL_AllocFormat(), SDL_FreeFormat(), and SDL_InitFormat().

Uint8 SDL_PixelFormat::padding[2]

Definition at line 321 of file SDL_pixels.h.

int SDL_PixelFormat::refcount

Definition at line 334 of file SDL_pixels.h.

Referenced by SDL_AllocFormat(), SDL_FreeFormat(), and SDL_InitFormat().

Uint8 SDL_PixelFormat::Rloss

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