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"
33PXR_NAMESPACE_OPEN_SCOPE
45 HdSt_FallbackLightingShader();
47 ~HdSt_FallbackLightingShader()
override;
56 HdSt_ResourceBinder
const &binder)
override;
59 HdSt_ResourceBinder
const &binder)
override;
61 void AddBindings(HdStBindingRequestVector *customBindings)
override;
69 std::unique_ptr<HioGlslfx> _glslfx;
73PXR_NAMESPACE_CLOSE_SCOPE
Stores a 4x4 matrix of double elements.
A lighting shader base class.
virtual void SetCamera(GfMatrix4d const &worldToViewMatrix, GfMatrix4d const &projectionMatrix)=0
Sets camera state.
virtual void BindResources(int program, HdSt_ResourceBinder const &binder)=0
Binds shader-specific resources to program XXX: this interface is meant to be used for bridging the G...
virtual void AddBindings(HdStBindingRequestVector *customBindings)=0
Add custom bindings (used by codegen)
virtual std::string GetSource(TfToken const &shaderStageKey) const =0
Returns the shader source provided by this shader for shaderStageKey.
virtual void UnbindResources(int program, HdSt_ResourceBinder const &binder)=0
Unbinds shader-specific resources.
virtual ID ComputeHash() const =0
Returns the hash value of the shader code and configuration.
A class representing the config and shader source of a glslfx file.
Token for efficient comparison, assignment, and hashing of known strings.