![]() |
MaterialX 1.39.4
|
Class representing a resource binding for Vulkan Glsl shader resources. More...
#include <VkResourceBindingContext.h>
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 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. | |
Static Public Member Functions | |
| static VkResourceBindingContextPtr | create (size_t uniformBindingLocation=0) |
Protected Attributes | |
| size_t | _hwUniformBindLocation = 0 |
| size_t | _hwInitUniformBindLocation = 0 |
Class representing a resource binding for Vulkan Glsl shader resources.
|
overridevirtual |
Implements HwResourceBindingContext.
|
overridevirtual |
Implements HwResourceBindingContext.
|
overridevirtual |
Implements HwResourceBindingContext.
|
overridevirtual |
Implements HwResourceBindingContext.