SDL 3.0
SDL_PixelFormat Struct Reference

#include <SDL_pixels.h>

+ Collaboration diagram for SDL_PixelFormat:

Data Fields

SDL_PixelFormatEnum format
 
SDL_Palettepalette
 
Uint8 bits_per_pixel
 
Uint8 bytes_per_pixel
 
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 700 of file SDL_pixels.h.

Field Documentation

◆ Aloss

Uint8 SDL_PixelFormat::Aloss

Definition at line 714 of file SDL_pixels.h.

◆ Amask

Uint32 SDL_PixelFormat::Amask

Definition at line 710 of file SDL_pixels.h.

◆ Ashift

Uint8 SDL_PixelFormat::Ashift

Definition at line 718 of file SDL_pixels.h.

◆ bits_per_pixel

Uint8 SDL_PixelFormat::bits_per_pixel

Definition at line 704 of file SDL_pixels.h.

◆ Bloss

Uint8 SDL_PixelFormat::Bloss

Definition at line 713 of file SDL_pixels.h.

◆ Bmask

Uint32 SDL_PixelFormat::Bmask

Definition at line 709 of file SDL_pixels.h.

◆ Bshift

Uint8 SDL_PixelFormat::Bshift

Definition at line 717 of file SDL_pixels.h.

◆ bytes_per_pixel

Uint8 SDL_PixelFormat::bytes_per_pixel

Definition at line 705 of file SDL_pixels.h.

◆ format

SDL_PixelFormatEnum SDL_PixelFormat::format

Definition at line 702 of file SDL_pixels.h.

◆ Gloss

Uint8 SDL_PixelFormat::Gloss

Definition at line 712 of file SDL_pixels.h.

◆ Gmask

Uint32 SDL_PixelFormat::Gmask

Definition at line 708 of file SDL_pixels.h.

◆ Gshift

Uint8 SDL_PixelFormat::Gshift

Definition at line 716 of file SDL_pixels.h.

◆ next

struct SDL_PixelFormat* SDL_PixelFormat::next

Definition at line 720 of file SDL_pixels.h.

◆ padding

Uint8 SDL_PixelFormat::padding[2]

Definition at line 706 of file SDL_pixels.h.

◆ palette

SDL_Palette* SDL_PixelFormat::palette

Definition at line 703 of file SDL_pixels.h.

◆ refcount

int SDL_PixelFormat::refcount

Definition at line 719 of file SDL_pixels.h.

◆ Rloss

Uint8 SDL_PixelFormat::Rloss

Definition at line 711 of file SDL_pixels.h.

◆ Rmask

Uint32 SDL_PixelFormat::Rmask

Definition at line 707 of file SDL_pixels.h.

◆ Rshift

Uint8 SDL_PixelFormat::Rshift

Definition at line 715 of file SDL_pixels.h.


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