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_GPUColorComponentFlags - Specifies which color components are written in a graphics pipeline.

Availability

       This datatype is available since SDL 3.2.0.

Name

       SDL_GPUColorComponentFlags - Specifies which color components are written in a graphics pipeline.

See Also

SDL_CreateGPUGraphicsPipeline(3)

Simple Directmedia Layer                           SDL 3.2.20                  SDL_GPUColorComponentFlags(3type)

Synopsis

#include<SDL3/SDL_gpu.h>typedefUint8SDL_GPUColorComponentFlags;#defineSDL_GPU_COLORCOMPONENT_R(1u<<0)/**<theredcomponent*/#defineSDL_GPU_COLORCOMPONENT_G(1u<<1)/**<thegreencomponent*/#defineSDL_GPU_COLORCOMPONENT_B(1u<<2)/**<thebluecomponent*/#defineSDL_GPU_COLORCOMPONENT_A(1u<<3)/**<thealphacomponent*/

See Also