Diligent Engine  v.2.4.g
Public Member Functions | Static Public Member Functions | List of all members
CD3DX12_ROOT_PARAMETER Struct Reference

#include <d3dx12_win.h>

Inheritance diagram for CD3DX12_ROOT_PARAMETER:

Public Member Functions

 CD3DX12_ROOT_PARAMETER ()
 
 CD3DX12_ROOT_PARAMETER (const D3D12_ROOT_PARAMETER &o)
 
void InitAsDescriptorTable (UINT numDescriptorRanges, _In_reads_(numDescriptorRanges) const D3D12_DESCRIPTOR_RANGE *pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 
void InitAsConstants (UINT num32BitValues, UINT shaderRegister, UINT registerSpace=0, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 
void InitAsConstantBufferView (UINT shaderRegister, UINT registerSpace=0, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 
void InitAsShaderResourceView (UINT shaderRegister, UINT registerSpace=0, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 
void InitAsUnorderedAccessView (UINT shaderRegister, UINT registerSpace=0, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 

Static Public Member Functions

static void InitAsDescriptorTable (_Out_ D3D12_ROOT_PARAMETER &rootParam, UINT numDescriptorRanges, _In_reads_(numDescriptorRanges) const D3D12_DESCRIPTOR_RANGE *pDescriptorRanges, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 
static void InitAsConstants (_Out_ D3D12_ROOT_PARAMETER &rootParam, UINT num32BitValues, UINT shaderRegister, UINT registerSpace=0, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 
static void InitAsConstantBufferView (_Out_ D3D12_ROOT_PARAMETER &rootParam, UINT shaderRegister, UINT registerSpace=0, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 
static void InitAsShaderResourceView (_Out_ D3D12_ROOT_PARAMETER &rootParam, UINT shaderRegister, UINT registerSpace=0, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 
static void InitAsUnorderedAccessView (_Out_ D3D12_ROOT_PARAMETER &rootParam, UINT shaderRegister, UINT registerSpace=0, D3D12_SHADER_VISIBILITY visibility=D3D12_SHADER_VISIBILITY_ALL)
 

Constructor & Destructor Documentation

◆ CD3DX12_ROOT_PARAMETER() [1/2]

CD3DX12_ROOT_PARAMETER::CD3DX12_ROOT_PARAMETER ( )
inline

◆ CD3DX12_ROOT_PARAMETER() [2/2]

CD3DX12_ROOT_PARAMETER::CD3DX12_ROOT_PARAMETER ( const D3D12_ROOT_PARAMETER &  o)
inlineexplicit

Member Function Documentation

◆ InitAsConstantBufferView() [1/2]

static void CD3DX12_ROOT_PARAMETER::InitAsConstantBufferView ( _Out_ D3D12_ROOT_PARAMETER &  rootParam,
UINT  shaderRegister,
UINT  registerSpace = 0,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inlinestatic

◆ InitAsConstantBufferView() [2/2]

void CD3DX12_ROOT_PARAMETER::InitAsConstantBufferView ( UINT  shaderRegister,
UINT  registerSpace = 0,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inline

◆ InitAsConstants() [1/2]

static void CD3DX12_ROOT_PARAMETER::InitAsConstants ( _Out_ D3D12_ROOT_PARAMETER &  rootParam,
UINT  num32BitValues,
UINT  shaderRegister,
UINT  registerSpace = 0,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inlinestatic

◆ InitAsConstants() [2/2]

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

◆ InitAsDescriptorTable() [1/2]

static void CD3DX12_ROOT_PARAMETER::InitAsDescriptorTable ( _Out_ D3D12_ROOT_PARAMETER &  rootParam,
UINT  numDescriptorRanges,
_In_reads_(numDescriptorRanges) const D3D12_DESCRIPTOR_RANGE *  pDescriptorRanges,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inlinestatic

◆ InitAsDescriptorTable() [2/2]

void CD3DX12_ROOT_PARAMETER::InitAsDescriptorTable ( UINT  numDescriptorRanges,
_In_reads_(numDescriptorRanges) const D3D12_DESCRIPTOR_RANGE *  pDescriptorRanges,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inline

◆ InitAsShaderResourceView() [1/2]

static void CD3DX12_ROOT_PARAMETER::InitAsShaderResourceView ( _Out_ D3D12_ROOT_PARAMETER &  rootParam,
UINT  shaderRegister,
UINT  registerSpace = 0,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inlinestatic

◆ InitAsShaderResourceView() [2/2]

void CD3DX12_ROOT_PARAMETER::InitAsShaderResourceView ( UINT  shaderRegister,
UINT  registerSpace = 0,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inline

◆ InitAsUnorderedAccessView() [1/2]

static void CD3DX12_ROOT_PARAMETER::InitAsUnorderedAccessView ( _Out_ D3D12_ROOT_PARAMETER &  rootParam,
UINT  shaderRegister,
UINT  registerSpace = 0,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inlinestatic

◆ InitAsUnorderedAccessView() [2/2]

void CD3DX12_ROOT_PARAMETER::InitAsUnorderedAccessView ( UINT  shaderRegister,
UINT  registerSpace = 0,
D3D12_SHADER_VISIBILITY  visibility = D3D12_SHADER_VISIBILITY_ALL 
)
inline

The documentation for this struct was generated from the following file: