CD3DX12_RT_FORMAT_ARRAY structure

A helper structure to enable easy initialization of a D3D12_RT_FORMAT_ARRAY structure.

Syntax

struct CD3DX12_RT_FORMAT_ARRAY  : public D3D12_RT_FORMAT_ARRAY{
  CD3DX12_RT_FORMAT_ARRAY CD3DX12_RT_FORMAT_ARRAY();
  CD3DX12_RT_FORMAT_ARRAY explicit CD3DX12_RT_FORMAT_ARRAY(const D3D12_RT_FORMAT_ARRAY& o);
  CD3DX12_RT_FORMAT_ARRAY explicit CD3DX12_RT_FORMAT_ARRAY(const DXGI_FORMAT* pFormats, UINT NumFormats);
                          operator const D3D12_RT_FORMAT_ARRAY&() const;
};

Members

CD3DX12_RT_FORMAT_ARRAY()

Creates a new, uninitialized, instance of a CD3DX12_RT_FORMAT_ARRAY.

explicit CD3DX12_RT_FORMAT_ARRAY(const D3D12_RT_FORMAT_ARRAY& o)

Creates a new instance of a CD3DX12_RT_FORMAT_ARRAY, initialized with values copied from a D3D12_RT_FORMAT_ARRAY structure.

explicit CD3DX12_RT_FORMAT_ARRAY(const DXGI_FORMAT* pFormats, UINT NumFormats)

Creates a new instance of a CD3DX12_RT_FORMAT_ARRAY, initialized with the values passed in the parameter list. Contents of the array specified by the pFormats parameter are copied into the member array RTFormats. The array specified by pFormats is assumed to have the same size as RTFormats.

operator const D3D12_RT_FORMAT_ARRAY&() const

Implicit conversion to a D3D12_RT_FORMAT_ARRAY structure. Because D3D12_RT_FORMAT_ARRAY is the underlying type of CD3DX12_DEPTH_STENCIL_DESC1, the object is simply returned as a const D3D12_RT_FORMAT_ARRAY reference to itself.

Requirements

Requirement Value
Header
D3dx12.h

See also

Helper Structures for D3D12

D3D12_RT_FORMAT_ARRAY