Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

SDL_GPUGraphicsPipelineTargetInfo - A structure specifying the descriptions of render targets used in a

Availability

       This struct is available since SDL 3.2.0.

Header File

       Defined in SDL3/SDL_gpu.h

Name

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

See Also

(3),   SDL_GPUGraphicsPipelineCreateInfo(3type),   (3),   SDL_GPUColorTargetDescription(3type),   (3),
       SDL_GPUTextureFormat(3type)

Simple Directmedia Layer                           SDL 3.2.10           SDL_GPUGraphicsPipelineTargetInfo(3type)

Synopsis

#include"SDL3/SDL.h"typedefstructSDL_GPUGraphicsPipelineTargetInfo{constSDL_GPUColorTargetDescription*color_target_descriptions;/**<Apointertoanarrayofcolortargetdescriptions.*/Uint32num_color_targets;/**<Thenumberofcolortargetdescriptionsintheabovearray.*/SDL_GPUTextureFormatdepth_stencil_format;/**<Thepixelformatofthedepth-stenciltarget.Ignoredifhas_depth_stencil_targetisfalse.*/boolhas_depth_stencil_target;/**<truespecifiesthatthepipelineusesadepth-stenciltarget.*/Uint8padding1;Uint8padding2;Uint8padding3;}SDL_GPUGraphicsPipelineTargetInfo;

See Also