CD3DX12_ROOT_PARAMETER1 structure
Structure d’assistance pour faciliter l’initialisation d’une structure D3D12_ROOT_PARAMETER1 .
Syntaxe
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);
};
Membres
-
CD3DX12_ROOT_PARAMETER1()
-
Crée une instance non initialisée d’un CD3DX12_ROOT_PARAMETER1.
-
explicit CD3DX12_ROOT_PARAMETER1(const D3D12_ROOT_PARAMETER1 &o)
-
Crée une instance d’une CD3DX12_ROOT_PARAMETER1, initialisée avec le contenu d’une autre structure D3D12_ROOT_PARAMETER1.
-
static inline InitAsDescriptorTable(D3D12_ROOT_PARAMETER1 &rootParam, UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Spécifie une fonction qui initialise les paramètres suivants :
& D3D12_ROOT_PARAMETER1 rootParam
UINT numDescriptorRanges
const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges
visibilité D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
static inline InitAsConstants(D3D12_ROOT_PARAMETER1 &rootParam, UINT num32BitValues, UINT shaderRegister, UINT registerSpace = 0, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Spécifie une fonction qui initialise les paramètres suivants :
& D3D12_ROOT_PARAMETER1 rootParam
UINT num32BitValues
Nuanceur UINTRegister
UINT registerSpace = 0
visibilité D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
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)
-
Spécifie une fonction qui initialise les paramètres suivants :
& D3D12_ROOT_PARAMETER1 rootParam
Nuanceur UINTRegister
UINT registerSpace = 0
D3D12_ROOT_DESCRIPTOR_FLAGS indicateurs = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilité D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
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 visibilité = D3D12_SHADER_VISIBILITY_ALL)
-
Spécifie une fonction qui initialise les paramètres suivants :
& D3D12_ROOT_PARAMETER1 rootParam
Nuanceur UINTRegister
UINT registerSpace = 0
D3D12_ROOT_DESCRIPTOR_FLAGS indicateurs = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilité D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
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)
-
Spécifie une fonction qui initialise les paramètres suivants :
& D3D12_ROOT_PARAMETER1 rootParam
Nuanceur UINTRegister
UINT registerSpace = 0
D3D12_ROOT_DESCRIPTOR_FLAGS indicateurs = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilité D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
inline InitAsDescriptorTable(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Spécifie une fonction qui initialise les paramètres suivants :
UINT numDescriptorRanges
const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges
visibilité D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
-
inline InitAsConstants(UINT num32BitValues, UINT shaderRegister, UINT registerSpace = 0, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)
-
Spécifie une fonction qui initialise les paramètres suivants :
UINT num32BitValues
Nuanceur UINTRegister
UINT registerSpace = 0
visibilité 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)
-
Spécifie une fonction qui initialise les paramètres suivants :
Nuanceur UINTRegister
UINT registerSpace = 0
D3D12_ROOT_DESCRIPTOR_FLAGS indicateurs = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilité 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)
-
Spécifie une fonction qui initialise les paramètres suivants :
Nuanceur UINTRegister
UINT registerSpace = 0
D3D12_ROOT_DESCRIPTOR_FLAGS indicateurs = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilité 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)
-
Spécifie une fonction qui initialise les paramètres suivants :
Nuanceur UINTRegister
UINT registerSpace = 0
D3D12_ROOT_DESCRIPTOR_FLAGS indicateurs = D3D12_ROOT_DESCRIPTOR_FLAG_NONE
visibilité D3D12_SHADER_VISIBILITY = D3D12_SHADER_VISIBILITY_ALL
Spécifications
Condition requise | Valeur |
---|---|
En-tête |
|