All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HdMaterial Class Referenceabstract

Hydra Schema for a material object. More...

+ Inheritance diagram for HdMaterial:

Public Types

enum  DirtyBits : HdDirtyBits { Clean = 0, DirtyParams = 1 << 2, DirtyResource = 1 << 3, AllDirty }
 

Public Member Functions

virtual void Reload ()=0
 Causes the shader to be reloaded. More...
 
- Public Member Functions inherited from HdSprim
HD_API HdSprim (SdfPath const &id)
 
SdfPath const & GetId () const
 Returns the identifier by which this state is known. More...
 
virtual void Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits)=0
 Synchronizes state from the delegate to this object. More...
 
virtual HD_API void Finalize (HdRenderParam *renderParam)
 Finalizes object resources. More...
 
virtual HdDirtyBits GetInitialDirtyBitsMask () const =0
 Returns the minimal set of dirty bits to place in the change tracker for use in the first sync of this prim. More...
 

Protected Member Functions

HD_API HdMaterial (SdfPath const &id)
 

Detailed Description

Hydra Schema for a material object.

Definition at line 37 of file material.h.

Member Function Documentation

virtual void Reload ( )
pure virtual

Causes the shader to be reloaded.

Implemented in HdPrmanMaterial, and HdPrmanMaterial.


The documentation for this class was generated from the following file: