| 
    HDK
    
   | 
 
#include <renderPassShader.h>
 Inheritance diagram for HdStRenderPassShader:Public Member Functions | |
| HDST_API | HdStRenderPassShader () | 
| HDST_API | HdStRenderPassShader (TfToken const &glslfxFile) | 
| HDST_API | HdStRenderPassShader (HioGlslfxSharedPtr const &glslfx) | 
| HDST_API | ~HdStRenderPassShader () override | 
| HDST_API ID | ComputeHash () const override | 
| HdShader overrides.  More... | |
| HDST_API std::string | GetSource (TfToken const &shaderStageKey) const override | 
| HDST_API void | BindResources (int program, HdSt_ResourceBinder const &binder) override | 
| HDST_API void | UnbindResources (int program, HdSt_ResourceBinder const &binder) override | 
| Unbinds shader-specific resources.  More... | |
| HDST_API void | AddBindings (HdStBindingRequestVector *customBindings) override | 
| Add custom bindings (used by codegen)  More... | |
| HDST_API  HdSt_MaterialParamVector const &  | GetParams () const override | 
| Returns the shader parameters for this shader.  More... | |
| HDST_API  NamedTextureHandleVector const &  | GetNamedTextureHandles () const override | 
| HDST_API void | AddBufferBinding (HdStBindingRequest const &req) | 
| Add a custom binding request for use when this shader executes.  More... | |
| HDST_API void | RemoveBufferBinding (TfToken const &name) | 
Remove name from custom binding.  More... | |
| HDST_API void | ClearBufferBindings () | 
| Clear all custom bindings associated with this shader.  More... | |
| HDST_API void | UpdateAovInputTextures (HdRenderPassAovBindingVector const &aovInputBindings, HdRenderIndex *const renderIndex) | 
  Public Member Functions inherited from HdStShaderCode | |
| HDST_API | HdStShaderCode () | 
| virtual HDST_API | ~HdStShaderCode () | 
| virtual HDST_API ID | ComputeTextureSourceHash () const | 
| HDST_API VtDictionary | GetLayout (TfTokenVector const &shaderStageKeys) const | 
| virtual HDST_API bool | IsEnabledPrimvarFiltering () const | 
| Returns whether primvar filtering is enabled for this shader.  More... | |
| virtual HDST_API TfTokenVector  const &  | GetPrimvarNames () const | 
| Returns the names of primvar that are used by this shader.  More... | |
| virtual HDST_API  HdBufferArrayRangeSharedPtr const &  | GetShaderData () const | 
| virtual HDST_API TfToken | GetMaterialTag () const | 
| virtual HDST_API void | AddResourcesFromTextures (ResourceContext &ctx) const | 
Static Public Member Functions | |
| static HDST_API  HdStRenderPassShaderSharedPtr  | CreateRenderPassShaderFromAovs (HdStRenderPassState *renderPassState, HdStResourceRegistrySharedPtr const &resourceRegistry, HdRenderPassAovBindingVector const &aovBindings) | 
  Static Public Member Functions inherited from HdStShaderCode | |
| static HDST_API ID | ComputeHash (HdStShaderCodeSharedPtrVector const &shaders) | 
| Returns the combined hash values of multiple shaders.  More... | |
Additional Inherited Members | |
  Public Types inherited from HdStShaderCode | |
| typedef size_t | ID | 
| using | NamedTextureHandleVector = std::vector< NamedTextureHandle > | 
A shader that supports common renderPass functionality.
Definition at line 35 of file renderPassShader.h.
| HDST_API HdStRenderPassShader::HdStRenderPassShader | ( | ) | 
| HDST_API HdStRenderPassShader::HdStRenderPassShader | ( | HioGlslfxSharedPtr const & | glslfx | ) | 
      
  | 
  override | 
      
  | 
  overridevirtual | 
Add custom bindings (used by codegen)
Implements HdStShaderCode.
| HDST_API void HdStRenderPassShader::AddBufferBinding | ( | HdStBindingRequest const & | req | ) | 
Add a custom binding request for use when this shader executes.
      
  | 
  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.
Clear all custom bindings associated with this shader.
HdShader overrides.
Implements HdStShaderCode.
      
  | 
  static | 
      
  | 
  overridevirtual | 
Textures that need to be bound for this shader.
Reimplemented from HdStShaderCode.
      
  | 
  overridevirtual | 
Returns the shader parameters for this shader.
Reimplemented from HdStShaderCode.
      
  | 
  overridevirtual | 
Returns the shader source provided by this shader for shaderStageKey
Implements HdStShaderCode.
Remove name from custom binding. 
      
  | 
  overridevirtual | 
Unbinds shader-specific resources.
Implements HdStShaderCode.
| HDST_API void HdStRenderPassShader::UpdateAovInputTextures | ( | HdRenderPassAovBindingVector const & | aovInputBindings, | 
| HdRenderIndex *const | renderIndex | ||
| ) |