CD3DX12_DESCRIPTOR_RANGE1 结构
一个帮助程序结构,用于轻松初始化 D3D12_DESCRIPTOR_RANGE1 结构。
语法
struct CD3DX12_DESCRIPTOR_RANGE1 : public D3D12_DESCRIPTOR_RANGE1{
CD3DX12_DESCRIPTOR_RANGE1();
explicit CD3DX12_DESCRIPTOR_RANGE1(const D3D12_DESCRIPTOR_RANGE1 &o);
CD3DX12_DESCRIPTOR_RANGE1(D3D12_DESCRIPTOR_RANGE_TYPE rangeType, UINT numDescriptors, UINT baseShaderRegister, UINT registerSpace = 0, D3D12_DESCRIPTOR_RANGE_FLAGS flags = D3D12_DESCRIPTOR_RANGE_FLAG_NONE, UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND);
void inline Init(D3D12_DESCRIPTOR_RANGE_TYPE rangeType, UINT numDescriptors, UINT baseShaderRegister, UINT registerSpace = 0, D3D12_DESCRIPTOR_RANGE_FLAGS flags = D3D12_DESCRIPTOR_RANGE_FLAG_NONE, UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND);
void static inline Init(D3D12_DESCRIPTOR_RANGE1 &range, D3D12_DESCRIPTOR_RANGE_TYPE rangeType, UINT numDescriptors, UINT baseShaderRegister, UINT registerSpace = 0, D3D12_DESCRIPTOR_RANGE_FLAGS flags = D3D12_DESCRIPTOR_RANGE_FLAG_NONE, UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND);
};
成员
-
CD3DX12_DESCRIPTOR_RANGE1 ()
-
创建CD3DX12_DESCRIPTOR_RANGE1的未初始化的新实例。
-
explicit CD3DX12_DESCRIPTOR_RANGE1 (const D3D12_DESCRIPTOR_RANGE1 &o)
-
创建使用另一个D3D12_DESCRIPTOR_RANGE1结构的内容初始化的 CD3DX12_DESCRIPTOR_RANGE1 的新实例。
-
CD3DX12_DESCRIPTOR_RANGE1 (D3D12_DESCRIPTOR_RANGE_TYPE rangeType,UINT numDescriptors,UINT baseShaderRegister,UINT registerSpace = 0,D3D12_DESCRIPTOR_RANGE_FLAGS flags = D3D12_DESCRIPTOR_RANGE_FLAG_NONE,UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND)
-
创建CD3DX12_DESCRIPTOR_RANGE1的新实例,初始化以下参数:
D3D12_DESCRIPTOR_RANGE_TYPE rangeType
UINT numDescriptors
UINT baseShaderRegister
UINT registerSpace = 0
D3D12_DESCRIPTOR_RANGE_FLAGS 标志 = D3D12_DESCRIPTOR_RANGE_FLAG_NONE
UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND
-
inline Init (D3D12_DESCRIPTOR_RANGE_TYPE rangeType, UINT numDescriptors, UINT baseShaderRegister, UINT registerSpace = 0, D3D12_DESCRIPTOR_RANGE_FLAGS flags = D3D12_DESCRIPTOR_RANGE_FLAG_NONE, UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND)
-
指定初始化以下参数的函数:
D3D12_DESCRIPTOR_RANGE_TYPE rangeType
UINT numDescriptors
UINT baseShaderRegister
UINT registerSpace = 0
D3D12_DESCRIPTOR_RANGE_FLAGS 标志 = D3D12_DESCRIPTOR_RANGE_FLAG_NONE
UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND
-
static inline Init (D3D12_DESCRIPTOR_RANGE1 &range, D3D12_DESCRIPTOR_RANGE_TYPE rangeType, UINT numDescriptors, UINT baseShaderRegister, UINT registerSpace = 0, D3D12_DESCRIPTOR_RANGE_FLAGS flags = D3D12_DESCRIPTOR_RANGE_FLAG_NONE, UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND)
-
指定初始化以下参数的函数:
D3D12_DESCRIPTOR_RANGE_TYPE rangeType
UINT numDescriptors
UINT baseShaderRegister
UINT registerSpace = 0
D3D12_DESCRIPTOR_RANGE_FLAGS 标志 = D3D12_DESCRIPTOR_RANGE_FLAG_NONE
UINT offsetInDescriptorsFromTableStart = D3D12_DESCRIPTOR_RANGE_OFFSET_APPEND
要求
要求 | 值 |
---|---|
标头 |
|