A representation for materials (including displacement) in prman.
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.
◆ Finalize()
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.
◆ GetFilterChain()
| static MatfiltFilterChain GetFilterChain |
( |
| ) |
|
|
static |
Get material filtering chain.
◆ GetInitialDirtyBitsMask()
| 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.
◆ GetMaterialNetwork()
Return the material network after filtering.
◆ GetShaderSourceTypes()
Return the static list of tokens supported.
◆ GetUseSceneIndexForMatfilt()
| static bool GetUseSceneIndexForMatfilt |
( |
| ) |
|
|
static |
Returns whether it's possible and preferred to use scene indices in place of matfilt callbacks.
◆ IsValid()
Return true if this material is valid.
◆ SetFilterChain()
| static void SetFilterChain |
( |
MatfiltFilterChain const & |
chain | ) |
|
|
static |
Set material filtering chain.
◆ Sync()
Synchronizes state from the delegate to this object.
Implements HdSprim.
The documentation for this class was generated from the following file: