Diligent Engine  v.2.4.g
Public Member Functions | Static Public Member Functions | List of all members
Diligent::ShaderVariableManagerD3D12 Class Reference

#include <ShaderVariableManagerD3D12.hpp>

Public Member Functions

 ShaderVariableManagerD3D12 (IObject &Owner, ShaderResourceCacheD3D12 &ResourceCache) noexcept
 
 ShaderVariableManagerD3D12 (const ShaderVariableManagerD3D12 &)=delete
 
 ShaderVariableManagerD3D12 (ShaderVariableManagerD3D12 &&)=delete
 
ShaderVariableManagerD3D12operator= (const ShaderVariableManagerD3D12 &)=delete
 
ShaderVariableManagerD3D12operator= (ShaderVariableManagerD3D12 &&)=delete
 
void Initialize (const PipelineResourceSignatureD3D12Impl &Signature, IMemoryAllocator &Allocator, const SHADER_RESOURCE_VARIABLE_TYPE *AllowedVarTypes, Uint32 NumAllowedTypes, SHADER_TYPE ShaderStages)
 
 ~ShaderVariableManagerD3D12 ()
 
void Destroy (IMemoryAllocator &Allocator)
 
ShaderVariableD3D12ImplGetVariable (const Char *Name) const
 
ShaderVariableD3D12ImplGetVariable (Uint32 Index) const
 
void BindResource (IDeviceObject *pObj, Uint32 ArrayIndex, Uint32 ResIndex)
 
bool IsBound (Uint32 ArrayIndex, Uint32 ResIndex) const
 
void BindResources (IResourceMapping *pResourceMapping, Uint32 Flags)
 
Uint32 GetVariableCount () const
 
IObjectGetOwner ()
 

Static Public Member Functions

static size_t GetRequiredMemorySize (const PipelineResourceSignatureD3D12Impl &Signature, const SHADER_RESOURCE_VARIABLE_TYPE *AllowedVarTypes, Uint32 NumAllowedTypes, SHADER_TYPE ShaderStages, Uint32 &NumVariables)
 

Constructor & Destructor Documentation

◆ ShaderVariableManagerD3D12() [1/3]

Diligent::ShaderVariableManagerD3D12::ShaderVariableManagerD3D12 ( IObject Owner,
ShaderResourceCacheD3D12 ResourceCache 
)
inlinenoexcept

◆ ShaderVariableManagerD3D12() [2/3]

Diligent::ShaderVariableManagerD3D12::ShaderVariableManagerD3D12 ( const ShaderVariableManagerD3D12 )
delete

◆ ShaderVariableManagerD3D12() [3/3]

Diligent::ShaderVariableManagerD3D12::ShaderVariableManagerD3D12 ( ShaderVariableManagerD3D12 &&  )
delete

◆ ~ShaderVariableManagerD3D12()

Diligent::ShaderVariableManagerD3D12::~ShaderVariableManagerD3D12 ( )

Member Function Documentation

◆ BindResource()

void Diligent::ShaderVariableManagerD3D12::BindResource ( IDeviceObject pObj,
Uint32  ArrayIndex,
Uint32  ResIndex 
)

◆ BindResources()

void Diligent::ShaderVariableManagerD3D12::BindResources ( IResourceMapping pResourceMapping,
Uint32  Flags 
)

◆ Destroy()

void Diligent::ShaderVariableManagerD3D12::Destroy ( IMemoryAllocator Allocator)

◆ GetOwner()

IObject& Diligent::ShaderVariableManagerD3D12::GetOwner ( )
inline

◆ GetRequiredMemorySize()

size_t Diligent::ShaderVariableManagerD3D12::GetRequiredMemorySize ( const PipelineResourceSignatureD3D12Impl Signature,
const SHADER_RESOURCE_VARIABLE_TYPE AllowedVarTypes,
Uint32  NumAllowedTypes,
SHADER_TYPE  ShaderStages,
Uint32 NumVariables 
)
static

◆ GetVariable() [1/2]

ShaderVariableD3D12Impl * Diligent::ShaderVariableManagerD3D12::GetVariable ( const Char Name) const

◆ GetVariable() [2/2]

ShaderVariableD3D12Impl * Diligent::ShaderVariableManagerD3D12::GetVariable ( Uint32  Index) const

◆ GetVariableCount()

Uint32 Diligent::ShaderVariableManagerD3D12::GetVariableCount ( ) const
inline

◆ Initialize()

void Diligent::ShaderVariableManagerD3D12::Initialize ( const PipelineResourceSignatureD3D12Impl Signature,
IMemoryAllocator Allocator,
const SHADER_RESOURCE_VARIABLE_TYPE AllowedVarTypes,
Uint32  NumAllowedTypes,
SHADER_TYPE  ShaderStages 
)

◆ IsBound()

bool Diligent::ShaderVariableManagerD3D12::IsBound ( Uint32  ArrayIndex,
Uint32  ResIndex 
) const

◆ operator=() [1/2]

ShaderVariableManagerD3D12& Diligent::ShaderVariableManagerD3D12::operator= ( const ShaderVariableManagerD3D12 )
delete

◆ operator=() [2/2]

ShaderVariableManagerD3D12& Diligent::ShaderVariableManagerD3D12::operator= ( ShaderVariableManagerD3D12 &&  )
delete

The documentation for this class was generated from the following files: