A representation for materials (including displacement) in prman.
More...
|
| HdPrmanMaterial (SdfPath const &id) |
|
virtual void | Sync (HdSceneDelegate *sceneDelegate, HdRenderParam *renderParam, HdDirtyBits *dirtyBits) override |
| Synchronizes state from the delegate to this object. More...
|
|
virtual HdDirtyBits | GetInitialDirtyBitsMask () const override |
| Returns the minimal set of dirty bits to place in the change tracker for use in the first sync of this prim. More...
|
|
riley::MaterialId | GetMaterialId () const |
|
riley::DisplacementId | GetDisplacementId () const |
|
bool | IsValid () const |
| Return true if this material is valid. More...
|
|
virtual void | Finalize (HdRenderParam *renderParam) override |
| Finalizes object resources. More...
|
|
HD_API | HdSprim (SdfPath const &id) |
|
SdfPath const & | GetId () const |
| Returns the identifier by which this state is known. More...
|
|
|
enum | DirtyBits : HdDirtyBits { Clean = 0,
DirtyParams = 1 << 2,
DirtyResource = 1 << 3,
AllDirty = (DirtyParams | DirtyResource)
} |
|
HD_API | HdMaterial (SdfPath const &id) |
|
A representation for materials (including displacement) in prman.
Definition at line 41 of file material.h.
Finalizes object resources.
This function might not delete resources, but it should deal with resource ownership so that the sprim is deletable.
Reimplemented from HdSprim.
static MatfiltFilterChain GetFilterChain |
( |
| ) |
|
|
static |
Get material filtering chain.
virtual HdDirtyBits GetInitialDirtyBitsMask |
( |
| ) |
const |
|
overridevirtual |
Returns the minimal set of dirty bits to place in the change tracker for use in the first sync of this prim.
Typically this would be all dirty bits.
Implements HdSprim.
Return the static list of tokens supported.
Return true if this material is valid.
static void SetFilterChain |
( |
MatfiltFilterChain const & |
chain | ) |
|
|
static |
Set material filtering chain.
Synchronizes state from the delegate to this object.
Implements HdSprim.
The documentation for this class was generated from the following file: