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

#include <material.h>

+ Inheritance diagram for HdMaterial:

Public Types

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

Public Member Functions

virtual HD_API ~HdMaterial ()
 
virtual void Reload ()=0
 Causes the shader to be reloaded. More...
 
- Public Member Functions inherited from HdSprim
HD_API HdSprim (SdfPath const &id)
 
virtual HD_API ~HdSprim ()
 
SdfPath constGetId () const
 
virtual void Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits)=0
 
virtual HD_API void Finalize (HdRenderParam *renderParam)
 
virtual HdDirtyBits GetInitialDirtyBitsMask () const =0
 

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 Enumeration Documentation

Enumerator
Clean 
DirtyParams 
DirtyResource 
AllDirty 

Definition at line 40 of file material.h.

Constructor & Destructor Documentation

virtual HD_API HdMaterial::~HdMaterial ( )
virtual
HD_API HdMaterial::HdMaterial ( SdfPath const id)
protected

Member Function Documentation

virtual void HdMaterial::Reload ( )
pure virtual

Causes the shader to be reloaded.

Implemented in HdStMaterial.


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