table of contents
SDL_GPUGraphicsPipelineTargetInfo(3type) | SDL3 DATATYPES | SDL_GPUGraphicsPipelineTargetInfo(3type) |
NAME¶
SDL_GPUGraphicsPipelineTargetInfo - A structure specifying the descriptions of render targets used in a graphics pipeline.
HEADER FILE¶
Defined in SDL3/SDL_gpu.h
SYNOPSIS¶
#include "SDL3/SDL.h"
typedef struct SDL_GPUGraphicsPipelineTargetInfo { const SDL_GPUColorTargetDescription *color_target_descriptions; /**< A pointer to an array of color target descriptions. */ Uint32 num_color_targets; /**< The number of color target descriptions in the above array. */ SDL_GPUTextureFormat depth_stencil_format; /**< The pixel format of the depth-stencil target. Ignored if has_depth_stencil_target is false. */ bool has_depth_stencil_target; /**< true specifies that the pipeline uses a depth-stencil target. */ Uint8 padding1; Uint8 padding2; Uint8 padding3; } SDL_GPUGraphicsPipelineTargetInfo;
AVAILABILITY¶
This struct is available since SDL 3.1.3
SEE ALSO¶
•(3), SDL_GPUGraphicsPipelineCreateInfo(3type)
SDL 3.1.6 | Simple Directmedia Layer |