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

◆ Aloss

Uint8 SDL_PixelFormat::Aloss

◆ Amask

◆ Ashift

◆ BitsPerPixel

◆ Bloss

Uint8 SDL_PixelFormat::Bloss

◆ Bmask

◆ Bshift

◆ BytesPerPixel

◆ format

◆ Gloss

Uint8 SDL_PixelFormat::Gloss

◆ Gmask

◆ Gshift

◆ next

struct SDL_PixelFormat* SDL_PixelFormat::next

Definition at line 335 of file SDL_pixels.h.

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

◆ padding

Uint8 SDL_PixelFormat::padding[2]

Definition at line 321 of file SDL_pixels.h.

◆ palette

◆ refcount

int SDL_PixelFormat::refcount

Definition at line 334 of file SDL_pixels.h.

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

◆ Rloss

Uint8 SDL_PixelFormat::Rloss

◆ Rmask

◆ Rshift


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