|
Diligent Engine
v.2.4.g
|
#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) |
| ShaderVariableVkImpl * | GetVariable (const Char *Name) const |
| ShaderVariableVkImpl * | GetVariable (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 |
| IObject & | GetOwner () |
Static Public Member Functions | |
| static size_t | GetRequiredMemorySize (const PipelineResourceSignatureVkImpl &Signature, const SHADER_RESOURCE_VARIABLE_TYPE *AllowedVarTypes, Uint32 NumAllowedTypes, SHADER_TYPE ShaderStages, Uint32 &NumVariables) |
|
inlinenoexcept |
| Diligent::ShaderVariableManagerVk::~ShaderVariableManagerVk | ( | ) |
| void Diligent::ShaderVariableManagerVk::BindResource | ( | IDeviceObject * | pObj, |
| Uint32 | ArrayIndex, | ||
| Uint32 | ResIndex | ||
| ) |
| void Diligent::ShaderVariableManagerVk::BindResources | ( | IResourceMapping * | pResourceMapping, |
| Uint32 | Flags | ||
| ) | const |
| void Diligent::ShaderVariableManagerVk::Destroy | ( | IMemoryAllocator & | Allocator | ) |
|
inline |
|
static |
| ShaderVariableVkImpl * Diligent::ShaderVariableManagerVk::GetVariable | ( | const Char * | Name | ) | const |
| ShaderVariableVkImpl * Diligent::ShaderVariableManagerVk::GetVariable | ( | Uint32 | Index | ) | const |
|
inline |
| void Diligent::ShaderVariableManagerVk::Initialize | ( | const PipelineResourceSignatureVkImpl & | Signature, |
| IMemoryAllocator & | Allocator, | ||
| const SHADER_RESOURCE_VARIABLE_TYPE * | AllowedVarTypes, | ||
| Uint32 | NumAllowedTypes, | ||
| SHADER_TYPE | ShaderType | ||
| ) |
1.8.17