Share via


CD3DX12_ROOT_DESCRIPTOR_TABLE結構

協助程序結構,可讓您輕鬆初始化 D3D12_ROOT_DESCRIPTOR_TABLE 結構。

語法

struct CD3DX12_ROOT_DESCRIPTOR_TABLE  : public D3D12_ROOT_DESCRIPTOR_TABLE{
       CD3DX12_ROOT_DESCRIPTOR_TABLE();
       explicit CD3DX12_ROOT_DESCRIPTOR_TABLE(const D3D12_ROOT_DESCRIPTOR_TABLE &o);
       CD3DX12_ROOT_DESCRIPTOR_TABLE(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges);
  void inline Init(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges);
  void static inline Init(D3D12_ROOT_DESCRIPTOR_TABLE &rootDescriptorTable, UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges);
};

成員

CD3DX12_ROOT_DESCRIPTOR_TABLE()

建立新的未初始化CD3DX12_ROOT_DESCRIPTOR_TABLE實例。

explicit CD3DX12_ROOT_DESCRIPTOR_TABLE(const D3D12_ROOT_DESCRIPTOR_TABLE &o)

建立CD3DX12_ROOT_DESCRIPTOR_TABLE的新實例,以另一個 D3D12_ROOT_DESCRIPTOR_TABLE 結構的內容初始化。

CD3DX12_ROOT_DESCRIPTOR_TABLE(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges)

建立CD3DX12_ROOT_DESCRIPTOR_TABLE的新實例,初始化下列參數:

UINT numDescriptorRanges

D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges

inline Init(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges)

指定初始化下列參數的函式:

UINT numDescriptorRanges

D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges

static init(D3D12_ROOT_DESCRIPTOR_TABLE & rootDescriptorTable, UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges)

指定初始化下列參數的函式:

D3D12_ROOT_DESCRIPTOR_TABLE & rootDescriptorTable

UINT numDescriptorRanges

D3D12_DESCRIPTOR_RANGE* _pDescriptorRanges

需求

需求
頁首
D3dx12.h

另請參閱

D3D12_ROOT_DESCRIPTOR_TABLE

D3D12 的協助程序結構