> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# D3D12_RT_FORMAT_ARRAY

> Wraps an array of render target formats.

Wraps an array of render target formats.

## Syntax

```cpp theme={null}
typedef struct D3D12_RT_FORMAT_ARRAY
{
    DXGI_FORMAT RTFormats;
    UINT NumRenderTargets;
} D3D12_RT_FORMAT_ARRAY
```

### Members

*RTFormats*\
Type: DXGI\_FORMAT\[8]

Specifies a fixed-size array of DXGI\_FORMAT values that define the format of up to 8 render targets.

*NumRenderTargets*\
Type: UINT

Specifies the number of render target formats stored in the array.

## Remarks

This structure is primarily intended to be used when creating pipeline state stream descriptions that contain multiple contiguous render target format descriptions.

## Requirements

**Header:** d3d12\_xs.h or d3d12\_x.h\
**Library:** d3d12\_xs.lib or d3d12\_x.lib\
**Supported Platforms**: XBOX Series consoles and XBOX One family

## See Also

[Core Structures](https://learn.microsoft.com/en-us/windows/desktop/direct3d12/direct3d-12-structures)


## Related topics

- [D3D12_FORMAT_SUPPORT1](/reference/graphics/d3d12/enums/d3d12_format_support1_public.md)
- [D3D12_FORMAT_SUPPORT2](/reference/graphics/d3d12/enums/d3d12_format_support2_public.md)
- [D3D12_FEATURE_DATA_FORMAT_SUPPORT](/reference/graphics/d3d12/structs/d3d12_feature_data_format_support_public.md)
- [D3D12_FEATURE_DATA_FORMAT_INFO](/reference/graphics/d3d12/structs/d3d12_feature_data_format_info_public.md)
- [D3D12_TEXCUBE_ARRAY_SRV](/reference/graphics/d3d12/structs/d3d12_texcube_array_srv_public.md)
