---
name: "SDL_GPUGraphicsPipelineCreateInfo"
section: "3type"
platform: "linux"
package: "libsdl3-doc"
version: "3.2.10+ds-1"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/SDL_GPUGraphicsPipelineCreateInfo"
---

# SDL\_GPUGraphicsPipelineCreateInfo(3type)

A structure specifying the parameters of a graphics pipeline state.

## NAME

SDL\_GPUGraphicsPipelineCreateInfo - A structure specifying the parameters of a graphics pipeline state.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

```
#include "SDL3/SDL.h"
```

**typedef struct SDL\_GPUGraphicsPipelineCreateInfo** **{**     **SDL\_GPUShader \*vertex\_shader;                   /\*\*\< The vertex shader used by the graphics pipeline. \*/**     **SDL\_GPUShader \*fragment\_shader;                 /\*\*\< The fragment shader used by the graphics pipeline. \*/**     **SDL\_GPUVertexInputState vertex\_input\_state;     /\*\*\< The vertex layout of the graphics pipeline. \*/**     **SDL\_GPUPrimitiveType primitive\_type;            /\*\*\< The primitive topology of the graphics pipeline. \*/**     **SDL\_GPURasterizerState rasterizer\_state;        /\*\*\< The rasterizer state of the graphics pipeline. \*/**     **SDL\_GPUMultisampleState multisample\_state;      /\*\*\< The multisample state of the graphics pipeline. \*/**     **SDL\_GPUDepthStencilState depth\_stencil\_state;   /\*\*\< The depth-stencil state of the graphics pipeline. \*/**     **SDL\_GPUGraphicsPipelineTargetInfo target\_info;  /\*\*\< Formats and blend modes for the render targets of the graphics pipeline. \*/**     **SDL\_PropertiesID props;                         /\*\*\< A properties ID for extensions. Should be 0 if no extensions are needed. \*/** **} SDL\_GPUGraphicsPipelineCreateInfo;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_CreateGPUGraphicsPipeline**(3)](/SDL_CreateGPUGraphicsPipeline/3.md), **•**(3), [**SDL\_GPUShader**(3type)](/SDL_GPUShader/3type.md), **•**(3), [**SDL\_GPUVertexInputState**(3type)](/SDL_GPUVertexInputState/3type.md), **•**(3), [**SDL\_GPUPrimitiveType**(3type)](/SDL_GPUPrimitiveType/3type.md), **•**(3), [**SDL\_GPURasterizerState**(3type)](/SDL_GPURasterizerState/3type.md), **•**(3), [**SDL\_GPUMultisampleState**(3type)](/SDL_GPUMultisampleState/3type.md), **•**(3), [**SDL\_GPUDepthStencilState**(3type)](/SDL_GPUDepthStencilState/3type.md), **•**(3), [**SDL\_GPUGraphicsPipelineTargetInfo**(3type)](/SDL_GPUGraphicsPipelineTargetInfo/3type.md)
