estructura de CD3DX12_ROOT_PARAMETER1
Estructura auxiliar para permitir una inicialización sencilla de una estructura de D3D12_ROOT_PARAMETER1 .
Sintaxis
struct CD3DX12_ROOT_PARAMETER1 : public D3D12_ROOT_PARAMETER1{
CD3DX12_ROOT_PARAMETER1();
explicit CD3DX12_ROOT_PARAMETER1(const D3D12_ROOT_PARAMETER1 &o);
void static inline InitAsDescriptorTable(D3D12_ROOT_PARAMETER1 &rootParam, UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void static inline InitAsConstants(D3D12_ROOT_PARAMETER1 &rootParam, UINT num32BitValues, UINT shaderRegister, UINT registerSpace = 0, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void static inline InitAsConstantBufferView(D3D12_ROOT_PARAMETER1 &rootParam, UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void static inline InitAsShaderResourceView(D3D12_ROOT_PARAMETER1 &rootParam, UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void static inline InitAsUnorderedAccessView(D3D12_ROOT_PARAMETER1 &rootParam, UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void inline InitAsDescriptorTable(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void inline InitAsConstants(UINT num32BitValues, UINT shaderRegister, UINT registerSpace = 0, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void inline InitAsConstantBufferView(UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void inline InitAsShaderResourceView(UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
void inline InitAsUnorderedAccessView(UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL);
};
Miembros
-
CD3DX12_ROOT_PARAMETER1()
-
Crea una nueva instancia sin inicializar de un CD3DX12_ROOT_PARAMETER1.
-
explicit CD3DX12_ROOT_PARAMETER1(const D3D12_ROOT_PARAMETER1 &o)
-
Crea una nueva instancia de un CD3DX12_ROOT_PARAMETER1, inicializado con el contenido de otra estructura D3D12_ROOT_PARAMETER1 .
-
static initAsDescriptorTable(D3D12_ROOT_PARAMETER1 &rootParam, UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
& D3D12_ROOT_PARAMETER1 rootParam
UINT numDescriptorRanges
const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
static initAsConstants(D3D12_ROOT_PARAMETER1 &rootParam, UINT num32BitValues, UINT shaderRegister, UINT registerSpace = 0, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
& D3D12_ROOT_PARAMETER1 rootParam
UINT num32BitValues
Sombreador UINTRegister
UINT registerSpace = 0
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
static initAsConstantBufferView(D3D12_ROOT_PARAMETER1 &rootParam, UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
& D3D12_ROOT_PARAMETER1 rootParam
Sombreador UINTRegister
UINT registerSpace = 0
marcas de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
static initAsShaderResourceView(D3D12_ROOT_PARAMETER1 &rootParam, UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
& D3D12_ROOT_PARAMETER1 rootParam
Sombreador UINTRegister
UINT registerSpace = 0
marcas de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
static initAsUnorderedAccessView(D3D12_ROOT_PARAMETER1 &rootParam, UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
& D3D12_ROOT_PARAMETER1 rootParam
Sombreador UINTRegister
UINT registerSpace = 0
marcas de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
inline InitAsDescriptorTable(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
UINT numDescriptorRanges
const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
inline InitAsConstants(UINT num32BitValues, UINT shaderRegister, UINT registerSpace = 0, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
UINT num32BitValues
Sombreador UINTRegister
UINT registerSpace = 0
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
inline InitAsConstantBufferView(UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
Sombreador UINTRegister
UINT registerSpace = 0
marcas de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
inline InitAsShaderResourceView(UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
Sombreador UINTRegister
UINT registerSpace = 0
marcas de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
inline InitAsUnorderedAccessView(UINT shaderRegister, UINT registerSpace = 0, D3D12_ROOT_DESCRIPTOR_FLAGS flags = D3D12_ROOT_DESCRIPTOR_FLAG_NONE, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Especifica una función que inicializa los parámetros siguientes:
Sombreador UINTRegister
UINT registerSpace = 0
marcas de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilidad de D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
Requisitos
Requisito | Value |
---|---|
Encabezado |
|