HDK
|
#include <mesh.h>
Static Public Member Functions | |
static HD_API void | ConfigureRepr (TfToken const &reprName, HdMeshReprDesc desc1, HdMeshReprDesc desc2=HdMeshReprDesc()) |
Protected Types | |
using | _MeshReprConfig = _ReprDescConfigs< HdMeshReprDesc, 2 > |
![]() | |
using | _ReprVector = std::vector< std::pair< TfToken, HdReprSharedPtr >> |
Protected Member Functions | |
HD_API | HdMesh (SdfPath const &id) |
![]() | |
HD_API HdReprSharedPtr const & | _GetRepr (TfToken const &reprToken) const |
HD_API void | _UpdateVisibility (HdSceneDelegate *sceneDelegate, HdDirtyBits *dirtyBits) |
HD_API void | _UpdateInstancer (HdSceneDelegate *sceneDelegate, HdDirtyBits *dirtyBits) |
virtual HdDirtyBits | _PropagateDirtyBits (HdDirtyBits bits) const =0 |
virtual void | _InitRepr (TfToken const &reprToken, HdDirtyBits *dirtyBits)=0 |
Static Protected Member Functions | |
static HD_API _MeshReprConfig::DescArray | _GetReprDesc (TfToken const &reprName) |
|
protected |
|
override |
Constructor. instancerId, if specified, is the instancer which uses this mesh as a prototype.
|
staticprotected |
|
static |
Configure the geometric style of the mesh for a given representation. We currently allow up to 2 descriptors for a representation. Example of when this may be useful: Drawing the outline in addition to the surface for a mesh.
|
overridevirtual |
Returns the names of built-in primvars, i.e. primvars that are part of the core geometric schema for this prim.
Implements HdRprim.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inline |