SDL 3.0
|
#include <SDL_pixels.h>
Data Fields | |
SDL_PixelFormatEnum | format |
SDL_Palette * | palette |
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_PixelFormat * | next |
Details about the format of a pixel.
Generally this is used with SDL_Surface, and covers many possible configurations, including paletted data and various bit patterns.
Definition at line 735 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::Aloss |
Definition at line 749 of file SDL_pixels.h.
Uint32 SDL_PixelFormat::Amask |
Definition at line 745 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::Ashift |
Definition at line 753 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::bits_per_pixel |
Definition at line 739 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::Bloss |
Definition at line 748 of file SDL_pixels.h.
Uint32 SDL_PixelFormat::Bmask |
Definition at line 744 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::Bshift |
Definition at line 752 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::bytes_per_pixel |
Definition at line 740 of file SDL_pixels.h.
SDL_PixelFormatEnum SDL_PixelFormat::format |
Definition at line 737 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::Gloss |
Definition at line 747 of file SDL_pixels.h.
Uint32 SDL_PixelFormat::Gmask |
Definition at line 743 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::Gshift |
Definition at line 751 of file SDL_pixels.h.
struct SDL_PixelFormat* SDL_PixelFormat::next |
Definition at line 755 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::padding[2] |
Definition at line 741 of file SDL_pixels.h.
SDL_Palette* SDL_PixelFormat::palette |
Definition at line 738 of file SDL_pixels.h.
int SDL_PixelFormat::refcount |
Definition at line 754 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::Rloss |
Definition at line 746 of file SDL_pixels.h.
Uint32 SDL_PixelFormat::Rmask |
Definition at line 742 of file SDL_pixels.h.
Uint8 SDL_PixelFormat::Rshift |
Definition at line 750 of file SDL_pixels.h.