logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

SDL_PixelFormatDetails - Details about the format of a pixel.

Availability

       This struct is available since SDL 3.2.0.

Simple Directmedia Layer                           SDL 3.2.10                      SDL_PixelFormatDetails(3type)

Header File

       Defined in SDL3/SDL_pixels.h

Name

       SDL_PixelFormatDetails - Details about the format of a pixel.

Synopsis

#include"SDL3/SDL.h"typedefstructSDL_PixelFormatDetails{SDL_PixelFormatformat;Uint8bits_per_pixel;Uint8bytes_per_pixel;Uint8padding[2];Uint32Rmask;Uint32Gmask;Uint32Bmask;Uint32Amask;Uint8Rbits;Uint8Gbits;Uint8Bbits;Uint8Abits;Uint8Rshift;Uint8Gshift;Uint8Bshift;Uint8Ashift;}SDL_PixelFormatDetails;

See Also