---
name: "SDL_GPUGraphicsPipelineTargetInfo"
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_GPUGraphicsPipelineTargetInfo"
---

# SDL\_GPUGraphicsPipelineTargetInfo(3type)

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

## NAME

SDL\_GPUGraphicsPipelineTargetInfo - A structure specifying the descriptions of render targets used in a graphics pipeline.

## HEADER FILE

Defined in SDL3/SDL\_gpu.h

## SYNOPSIS

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

**typedef struct SDL\_GPUGraphicsPipelineTargetInfo** **{**     **const SDL\_GPUColorTargetDescription \*color\_target\_descriptions;  /\*\*\< A pointer to an array of color target descriptions. \*/**     **Uint32 num\_color\_targets;                                        /\*\*\< The number of color target descriptions in the above array. \*/**     **SDL\_GPUTextureFormat depth\_stencil\_format;                       /\*\*\< The pixel format of the depth-stencil target. Ignored if has\_depth\_stencil\_target is false. \*/**     **bool has\_depth\_stencil\_target;                               /\*\*\< true specifies that the pipeline uses a depth-stencil target. \*/**     **Uint8 padding1;**     **Uint8 padding2;**     **Uint8 padding3;** **} SDL\_GPUGraphicsPipelineTargetInfo;**

## AVAILABILITY

This struct is available since SDL 3.2.0.

## SEE ALSO

**•**(3), [**SDL\_GPUGraphicsPipelineCreateInfo**(3type)](/SDL_GPUGraphicsPipelineCreateInfo/3type.md), **•**(3), [**SDL\_GPUColorTargetDescription**(3type)](/SDL_GPUColorTargetDescription/3type.md), **•**(3), [**SDL\_GPUTextureFormat**(3type)](/SDL_GPUTextureFormat/3type.md)
