SDL_GPUGraphicsPipelineCreateInfo - A structure specifying the parameters of a graphics pipeline state.
Contents
Availability
This struct is available since SDL 3.2.0.
Header File
Defined in SDL3/SDL_gpu.h
Name
SDL_GPUGraphicsPipelineCreateInfo - A structure specifying the parameters of a graphics pipeline state.
See Also
•(3), SDL_CreateGPUGraphicsPipeline(3), •(3), SDL_GPUShader(3type), •(3), SDL_GPUVertexInputState(3type), •(3), SDL_GPUPrimitiveType(3type), •(3), SDL_GPURasterizerState(3type), •(3), SDL_GPUMultisampleState(3type), •(3), SDL_GPUDepthStencilState(3type), •(3), SDL_GPUGraphicsPipelineTargetInfo(3type) Simple Directmedia Layer SDL 3.2.10 SDL_GPUGraphicsPipelineCreateInfo(3type)
Synopsis
#include"SDL3/SDL.h"typedefstructSDL_GPUGraphicsPipelineCreateInfo{SDL_GPUShader*vertex_shader;/**<Thevertexshaderusedbythegraphicspipeline.*/SDL_GPUShader*fragment_shader;/**<Thefragmentshaderusedbythegraphicspipeline.*/SDL_GPUVertexInputStatevertex_input_state;/**<Thevertexlayoutofthegraphicspipeline.*/SDL_GPUPrimitiveTypeprimitive_type;/**<Theprimitivetopologyofthegraphicspipeline.*/SDL_GPURasterizerStaterasterizer_state;/**<Therasterizerstateofthegraphicspipeline.*/SDL_GPUMultisampleStatemultisample_state;/**<Themultisamplestateofthegraphicspipeline.*/SDL_GPUDepthStencilStatedepth_stencil_state;/**<Thedepth-stencilstateofthegraphicspipeline.*/SDL_GPUGraphicsPipelineTargetInfotarget_info;/**<Formatsandblendmodesfortherendertargetsofthegraphicspipeline.*/SDL_PropertiesIDprops;/**<ApropertiesIDforextensions.Shouldbe0ifnoextensionsareneeded.*/}SDL_GPUGraphicsPipelineCreateInfo;