HDK
|
#include <fallbackLightingShader.h>
Additional Inherited Members | |
![]() | |
typedef size_t | ID |
using | NamedTextureHandleVector = std::vector< NamedTextureHandle > |
![]() | |
static HDST_API ID | ComputeHash (HdStShaderCodeSharedPtrVector const &shaders) |
Returns the combined hash values of multiple shaders. More... | |
A shader that provides fallback lighting behavior.
Definition at line 41 of file fallbackLightingShader.h.
HDST_API HdSt_FallbackLightingShader::HdSt_FallbackLightingShader | ( | ) |
|
override |
|
overridevirtual |
Add custom bindings (used by codegen)
Implements HdStShaderCode.
|
overridevirtual |
Binds shader-specific resources to program XXX: this interface is meant to be used for bridging the GlfSimpleLightingContext mechanism, and not for generic use-cases.
Implements HdStShaderCode.
Returns the hash value of the shader code and configuration.
It is computed from the the GLSL code as well as the resource signature of the shader (as determined from its parameters). If two shaders have the same hash, the GLSL code as expanded by codegen should also be the same.
Implements HdStShaderCode.
|
overridevirtual |
Returns the shader source provided by this shader for shaderStageKey
Implements HdStShaderCode.
|
overridevirtual |
Sets camera state.
Implements HdStLightingShader.
|
overridevirtual |
Unbinds shader-specific resources.
Implements HdStShaderCode.