MaterialX 1.39.1
Loading...
Searching...
No Matches
HwResourceBindingContext Class Referenceabstract

Class representing a context for resource binding for hardware resources. More...

#include <HwShaderGenerator.h>

Inheritance diagram for HwResourceBindingContext:
GenUserData GlslResourceBindingContext VkResourceBindingContext

Public Member Functions

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

Detailed Description

Class representing a context for resource binding for hardware resources.


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