SDL_GPUColorComponentFlags - Specifies which color components are written in a graphics pipeline.
Contents
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*/
