#include <material.h>
Definition at line 43 of file material.h.
HDST_API HdStMaterial::~HdStMaterial |
( |
| ) |
|
|
override |
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.
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.
Obtains the GLSLFX code together with supporting information such as material params and textures to render surfaces.
const TfToken & HdStMaterial::GetMaterialTag |
( |
| ) |
const |
|
inline |
Obtains the GLSLFLX code together with material params to render volumes.
Definition at line 167 of file material.h.
bool HdStMaterial::HasDisplacement |
( |
| ) |
const |
|
inline |
bool HdStMaterial::HasLimitSurfaceEvaluation |
( |
| ) |
const |
|
inline |
Returns true if the material specifies limit surface evaluation.
Definition at line 151 of file material.h.
bool HdStMaterial::HasPtex |
( |
| ) |
const |
|
inline |
Summary flag. Returns true if the material is bound to one or more textures and any of those textures is a ptex texture. If no textures are bound or all textures are uv textures, then the method returns false.
Definition at line 146 of file material.h.
Replaces the shader code object with an externally created one Used to set the fallback shader for prim. This class takes ownership of the passed in object.
Synchronizes state from the delegate to this object.
Implements HdSprim.
The documentation for this class was generated from the following file: