A structure specifying the parameters of a graphics pipeline state.
Defined in <SDL3/SDL_gpu.h>
typedef struct SDL_GPUGraphicsPipelineCreateInfo
{/**< The vertex shader used by the graphics pipeline. */
SDL_GPUShader *vertex_shader; /**< The fragment shader used by the graphics pipeline. */
SDL_GPUShader *fragment_shader; /**< The vertex layout of the graphics pipeline. */
SDL_GPUVertexInputState vertex_input_state; /**< The primitive topology of the graphics pipeline. */
SDL_GPUPrimitiveType primitive_type; /**< The rasterizer state of the graphics pipeline. */
SDL_GPURasterizerState rasterizer_state; /**< The multisample state of the graphics pipeline. */
SDL_GPUMultisampleState multisample_state; /**< The depth-stencil state of the graphics pipeline. */
SDL_GPUDepthStencilState depth_stencil_state; /**< Formats and blend modes for the render targets of the graphics pipeline. */
SDL_GPUGraphicsPipelineTargetInfo target_info;
/**< A properties ID for extensions. Should be 0 if no extensions are needed. */
SDL_PropertiesID props; } SDL_GPUGraphicsPipelineCreateInfo;
This struct is available since SDL 3.1.3