HDK
|
#include <GlslResourceBindingContext.h>
Public Member Functions | |
GlslResourceBindingContext (size_t uniformBindingLocation, size_t samplerBindingLocation) | |
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 |
void | enableSeparateBindingLocations (bool separateBindingLocation) |
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< T > | asA () |
Return this object cast to a templated type. More... | |
template<class T > | |
shared_ptr< const T > | asA () const |
Return this object cast to a templated type. More... | |
Static Public Member Functions | |
static GlslResourceBindingContextPtr | create (size_t uniformBindingLocation=0, size_t samplerBindingLocation=0) |
Protected Attributes | |
StringSet | _requiredExtensions |
size_t | _hwUniformBindLocation = 0 |
size_t | _hwInitUniformBindLocation = 0 |
size_t | _hwSamplerBindLocation = 0 |
size_t | _hwInitSamplerBindLocation = 0 |
bool | _separateBindingLocation = false |
Additional Inherited Members | |
Protected Member Functions inherited from GenUserData | |
GenUserData () | |
Class representing a resource binding for Glsl shader resources.
Definition at line 23 of file GlslResourceBindingContext.h.
GlslResourceBindingContext::GlslResourceBindingContext | ( | size_t | uniformBindingLocation, |
size_t | samplerBindingLocation | ||
) |
|
inlinestatic |
Definition at line 28 of file GlslResourceBindingContext.h.
|
overridevirtual |
Implements HwResourceBindingContext.
|
overridevirtual |
Implements HwResourceBindingContext.
|
overridevirtual |
Implements HwResourceBindingContext.
|
inline |
Definition at line 50 of file GlslResourceBindingContext.h.
|
overridevirtual |
Implements HwResourceBindingContext.
|
protected |
Definition at line 66 of file GlslResourceBindingContext.h.
|
protected |
Definition at line 60 of file GlslResourceBindingContext.h.
|
protected |
Definition at line 63 of file GlslResourceBindingContext.h.
|
protected |
Definition at line 57 of file GlslResourceBindingContext.h.
|
protected |
Definition at line 50 of file GlslResourceBindingContext.h.
|
protected |
Definition at line 71 of file GlslResourceBindingContext.h.