MaterialX 1.39.1
|
Class representing a context for resource binding for hardware resources. More...
#include <HwShaderGenerator.h>
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. | |
Class representing a context for resource binding for hardware resources.