HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
VkResourceBindingContext Class Reference

#include <VkResourceBindingContext.h>

+ Inheritance diagram for VkResourceBindingContext:

Public Member Functions

 VkResourceBindingContext (size_t uniformBindingLocation)
 
void initialize () override
 
void emitDirectives (GenContext &context, ShaderStage &stage) override
 
void emitResourceBindings (GenContext &context, const VariableBlock &uniforms, ShaderStage &stage) override
 
void emitStructuredResourceBindings (GenContext &context, const VariableBlock &uniforms, ShaderStage &stage, const std::string &structInstanceName, const std::string &arraySuffix) override
 
- Public Member Functions inherited from HwResourceBindingContext
virtual ~HwResourceBindingContext ()
 
- Public Member Functions inherited from GenUserData
virtual ~GenUserData ()
 
GenUserDataPtr getSelf ()
 Return a shared pointer for this object. More...
 
ConstGenUserDataPtr getSelf () const
 Return a shared pointer for this object. More...
 
template<class T >
shared_ptr< TasA ()
 Return this object cast to a templated type. More...
 
template<class T >
shared_ptr< const TasA () const
 Return this object cast to a templated type. More...
 

Static Public Member Functions

static VkResourceBindingContextPtr create (size_t uniformBindingLocation=0)
 

Protected Attributes

size_t _hwUniformBindLocation = 0
 
size_t _hwInitUniformBindLocation = 0
 

Additional Inherited Members

- Protected Member Functions inherited from GenUserData
 GenUserData ()
 

Detailed Description

Class representing a resource binding for Vulkan Glsl shader resources.

Definition at line 23 of file VkResourceBindingContext.h.

Constructor & Destructor Documentation

VkResourceBindingContext::VkResourceBindingContext ( size_t  uniformBindingLocation)

Member Function Documentation

static VkResourceBindingContextPtr VkResourceBindingContext::create ( size_t  uniformBindingLocation = 0)
inlinestatic

Definition at line 28 of file VkResourceBindingContext.h.

void VkResourceBindingContext::emitDirectives ( GenContext context,
ShaderStage stage 
)
overridevirtual
void VkResourceBindingContext::emitResourceBindings ( GenContext context,
const VariableBlock uniforms,
ShaderStage stage 
)
overridevirtual
void VkResourceBindingContext::emitStructuredResourceBindings ( GenContext context,
const VariableBlock uniforms,
ShaderStage stage,
const std::string structInstanceName,
const std::string arraySuffix 
)
overridevirtual
void VkResourceBindingContext::initialize ( )
overridevirtual

Member Data Documentation

size_t VkResourceBindingContext::_hwInitUniformBindLocation = 0
protected

Definition at line 52 of file VkResourceBindingContext.h.

size_t VkResourceBindingContext::_hwUniformBindLocation = 0
protected

Definition at line 49 of file VkResourceBindingContext.h.


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