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

#include <ShaderVariableManagerVk.hpp>

Public Member Functions

 ShaderVariableManagerVk (IObject &Owner, ShaderResourceCacheVk &ResourceCache) noexcept
 
void Initialize (const PipelineResourceSignatureVkImpl &Signature, IMemoryAllocator &Allocator, const SHADER_RESOURCE_VARIABLE_TYPE *AllowedVarTypes, Uint32 NumAllowedTypes, SHADER_TYPE ShaderType)
 
 ~ShaderVariableManagerVk ()
 
void Destroy (IMemoryAllocator &Allocator)
 
ShaderVariableVkImplGetVariable (const Char *Name) const
 
ShaderVariableVkImplGetVariable (Uint32 Index) const
 
void BindResource (IDeviceObject *pObj, Uint32 ArrayIndex, Uint32 ResIndex)
 
bool IsBound (Uint32 ArrayIndex, Uint32 ResIndex) const
 
void BindResources (IResourceMapping *pResourceMapping, Uint32 Flags) const
 
Uint32 GetVariableCount () const
 
IObjectGetOwner ()
 

Static Public Member Functions

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

Constructor & Destructor Documentation

◆ ShaderVariableManagerVk()

Diligent::ShaderVariableManagerVk::ShaderVariableManagerVk ( IObject Owner,
ShaderResourceCacheVk ResourceCache 
)
inlinenoexcept

◆ ~ShaderVariableManagerVk()

Diligent::ShaderVariableManagerVk::~ShaderVariableManagerVk ( )

Member Function Documentation

◆ BindResource()

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

◆ BindResources()

void Diligent::ShaderVariableManagerVk::BindResources ( IResourceMapping pResourceMapping,
Uint32  Flags 
) const

◆ Destroy()

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

◆ GetOwner()

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

◆ GetRequiredMemorySize()

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

◆ GetVariable() [1/2]

ShaderVariableVkImpl * Diligent::ShaderVariableManagerVk::GetVariable ( const Char Name) const

◆ GetVariable() [2/2]

ShaderVariableVkImpl * Diligent::ShaderVariableManagerVk::GetVariable ( Uint32  Index) const

◆ GetVariableCount()

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

◆ Initialize()

void Diligent::ShaderVariableManagerVk::Initialize ( const PipelineResourceSignatureVkImpl Signature,
IMemoryAllocator Allocator,
const SHADER_RESOURCE_VARIABLE_TYPE AllowedVarTypes,
Uint32  NumAllowedTypes,
SHADER_TYPE  ShaderType 
)

◆ IsBound()

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

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