Share via


estrutura CD3DX12_ROOT_PARAMETER1

Uma estrutura auxiliar para habilitar a inicialização fácil de uma estrutura D3D12_ROOT_PARAMETER1 .

Sintaxe

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);
};

Membros

CD3DX12_ROOT_PARAMETER1()

Cria uma nova instância não inicializada de um CD3DX12_ROOT_PARAMETER1.

explicit CD3DX12_ROOT_PARAMETER1(const D3D12_ROOT_PARAMETER1 &o)

Cria uma nova instância de uma CD3DX12_ROOT_PARAMETER1, inicializada com o conteúdo de outra estrutura 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)

Especifica uma função que inicializa os seguintes parâmetros:

& D3D12_ROOT_PARAMETER1 rootParam

UINT numDescriptorRanges

const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges

D3D12_SHADER_VISIBILITY visibilidade = 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)

Especifica uma função que inicializa os seguintes parâmetros:

& D3D12_ROOT_PARAMETER1 rootParam

UINT num32BitValues

Sombreador UINTRegister

UINT registerSpace = 0

D3D12_SHADER_VISIBILITY visibilidade = 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)

Especifica uma função que inicializa os seguintes parâmetros:

& D3D12_ROOT_PARAMETER1 rootParam

Sombreador UINTRegister

UINT registerSpace = 0

sinalizadores de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE

D3D12_SHADER_VISIBILITY visibilidade = 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 visibility = D3D12_SHADER_VISIBILITY_ALL)

Especifica uma função que inicializa os seguintes parâmetros:

& D3D12_ROOT_PARAMETER1 rootParam

Sombreador UINTRegister

UINT registerSpace = 0

sinalizadores de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE

D3D12_SHADER_VISIBILITY visibilidade = 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)

Especifica uma função que inicializa os seguintes parâmetros:

& D3D12_ROOT_PARAMETER1 rootParam

Sombreador UINTRegister

UINT registerSpace = 0

sinalizadores de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE

D3D12_SHADER_VISIBILITY visibilidade = D3D12_SHADER_VISIBILITY_ALL

inline InitAsDescriptorTable(UINT numDescriptorRanges, const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)

Especifica uma função que inicializa os seguintes parâmetros:

UINT numDescriptorRanges

const D3D12_DESCRIPTOR_RANGE1* pDescriptorRanges

D3D12_SHADER_VISIBILITY visibilidade = D3D12_SHADER_VISIBILITY_ALL

inline InitAsConstants(UINT num32BitValues, UINT shaderRegister, UINT registerSpace = 0, D3D12_SHADER_VISIBILITY visibility = D3D12_SHADER_VISIBILITY_ALL)

Especifica uma função que inicializa os seguintes parâmetros:

UINT num32BitValues

Sombreador UINTRegister

UINT registerSpace = 0

D3D12_SHADER_VISIBILITY visibilidade = 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 uma função que inicializa os seguintes parâmetros:

Sombreador UINTRegister

UINT registerSpace = 0

sinalizadores de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE

D3D12_SHADER_VISIBILITY visibilidade = 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 uma função que inicializa os seguintes parâmetros:

Sombreador UINTRegister

UINT registerSpace = 0

sinalizadores de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE

D3D12_SHADER_VISIBILITY visibilidade = 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 uma função que inicializa os seguintes parâmetros:

Sombreador UINTRegister

UINT registerSpace = 0

sinalizadores de D3D12_ROOT_DESCRIPTOR_FLAGS = D3D12_ROOT_DESCRIPTOR_FLAG_NONE

D3D12_SHADER_VISIBILITY visibilidade = D3D12_SHADER_VISIBILITY_ALL

Requisitos

Requisito Valor
parâmetro
D3dx12.h

Confira também

D3D12_ROOT_PARAMETER1

Estruturas auxiliares do D3D12