D3D12_RT_FORMAT_ARRAY structure

Wraps an array of render target formats.

Syntax

struct D3D12_RT_FORMAT_ARRAY {
  DXGI_FORMAT RTFormats[8];
  UINT        NumRenderTargets;
};

Members

RTFormats

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

NumRenderTargets

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

Remarks

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

Requirements

   
Header d3d12.h

See Also

Core Structures