CD3DX12_ROOT_DESCRIPTOR_TABLE1 結構

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

語法

struct CD3DX12_ROOT_DESCRIPTOR_TABLE1  : public D3D12_ROOT_DESCRIPTOR_TABLE1{
       CD3DX12_ROOT_DESCRIPTOR_TABLE1();
       explicit CD3DX12_ROOT_DESCRIPTOR_TABLE1(const D3D12_ROOT_DESCRIPTOR_TABLE1 &o);
       CD3DX12_ROOT_DESCRIPTOR_TABLE1(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges);
  void inline Init(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges);
  void static inline Init(D3D12_ROOT_DESCRIPTOR_TABLE1 &rootDescriptorTable, UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges);
};

成員

CD3DX12_ROOT_DESCRIPTOR_TABLE1()

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

explicit CD3DX12_ROOT_DESCRIPTOR_TABLE1(const D3D12_ROOT_DESCRIPTOR_TABLE1 &o)

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

CD3DX12_ROOT_DESCRIPTOR_TABLE1(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges)

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

UINT numDescriptorRanges

const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges

inline Init(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges)

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

UINT numDescriptorRanges

const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges

static init(D3D12_ROOT_DESCRIPTOR_TABLE1 & rootDescriptorTable, UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges)

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

D3D12_ROOT_DESCRIPTOR_TABLE1 &rootDescriptorTable

UINT numDescriptorRanges

const D3D12_DESCRIPTOR_RANGE1* _pDescriptorRanges

需求

需求
頁首
D3dx12.h

另請參閱

D3D12_ROOT_DESCRIPTOR_TABLE1

D3D12 的協助程序結構