SDL_GPUGraphicsPipelineTargetInfo

A structure specifying the descriptions of render targets used in a graphics pipeline.

Members

Variables

color_target_descriptions
const(SDL_GPUColorTargetDescription)* color_target_descriptions;

A pointer to an array of color target descriptions.

depth_stencil_format
SDL_GPUTextureFormat depth_stencil_format;

The pixel format of the depth-stencil target. Ignored if has_depth_stencil_target is false.

has_depth_stencil_target
bool has_depth_stencil_target;

true specifies that the pipeline uses a depth-stencil target.

num_color_targets
Uint32 num_color_targets;

The number of color target descriptions in the above array.

padding1
Uint8 padding1;
Undocumented in source.
padding2
Uint8 padding2;
Undocumented in source.
padding3
Uint8 padding3;
Undocumented in source.

See Also

Meta