D3D12_RT_FORMAT_ARRAY structure (d3d12.h)

Wraps an array of render target formats.

Syntax

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

Members

RTFormats[8]

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 creating pipeline state stream descriptions that contain multiple contiguous render target format descriptions.

Requirements

Requirement Value
Header d3d12.h

See also

Core Structures