SDL_GPUGraphicsPipelineCreateInfo

A structure specifying the parameters of a graphics pipeline state.

Members

Variables

depth_stencil_state
SDL_GPUDepthStencilState depth_stencil_state;

The depth-stencil state of the graphics pipeline.

fragment_shader
SDL_GPUShader* fragment_shader;

The fragment shader used by the graphics pipeline.

multisample_state
SDL_GPUMultisampleState multisample_state;

The multisample state of the graphics pipeline.

primitive_type
SDL_GPUPrimitiveType primitive_type;

The primitive topology of the graphics pipeline.

props
SDL_PropertiesID props;

A properties ID for extensions. Should be 0 if no extensions are needed.

rasterizer_state
SDL_GPURasterizerState rasterizer_state;

The rasterizer state of the graphics pipeline.

target_info
SDL_GPUGraphicsPipelineTargetInfo target_info;

Formats and blend modes for the render targets of the graphics pipeline.

vertex_input_state
SDL_GPUVertexInputState vertex_input_state;

The vertex layout of the graphics pipeline.

vertex_shader
SDL_GPUShader* vertex_shader;

The vertex shader used by the graphics pipeline.

See Also

Meta