24 #ifndef PXR_IMAGING_HD_ST_FALLBACK_LIGHTING_SHADER_H
25 #define PXR_IMAGING_HD_ST_FALLBACK_LIGHTING_SHADER_H
28 #include "pxr/imaging/hdSt/api.h"
29 #include "pxr/imaging/hdSt/lightingShader.h"
35 PXR_NAMESPACE_OPEN_SCOPE
47 HdSt_FallbackLightingShader();
49 ~HdSt_FallbackLightingShader()
override;
58 HdSt_ResourceBinder
const &binder,
62 HdSt_ResourceBinder
const &binder,
65 void AddBindings(HdBindingRequestVector *customBindings)
override;
73 std::unique_ptr<HioGlslfx> _glslfx;
77 PXR_NAMESPACE_CLOSE_SCOPE
79 #endif // PXR_IMAGING_HD_ST_FALLBACK_LIGHTING_SHADER_H
virtual void BindResources(int program, HdSt_ResourceBinder const &binder, HdRenderPassState const &state)=0
Binds shader-specific resources to program XXX: this interface is meant to be used for bridging the G...
virtual void UnbindResources(int program, HdSt_ResourceBinder const &binder, HdRenderPassState const &state)=0
Unbinds shader-specific resources.
virtual std::string GetSource(TfToken const &shaderStageKey) const =0
Returns the shader source provided by this shader for shaderStageKey.
virtual void AddBindings(HdBindingRequestVector *customBindings)=0
Add custom bindings (used by codegen)
A set of rendering parameters used among render passes.
Token for efficient comparison, assignment, and hashing of known strings.
Stores a 4x4 matrix of double elements.
virtual void SetCamera(GfMatrix4d const &worldToViewMatrix, GfMatrix4d const &projectionMatrix)=0
Sets camera state.
A class representing the config and shader source of a glslfx file.
virtual ID ComputeHash() const =0
Returns the hash value of the shader code and configuration.
A lighting shader base class.