SDL_GPUColorTargetInfo.layer_or_depth_plane

The layer index or depth plane to use as a color target. This value is treated as a layer index on 2D array and cube textures, and as a depth plane on 3D textures.

struct SDL_GPUColorTargetInfo
Uint32 layer_or_depth_plane;

Meta