35 #ifndef PXR_IMAGING_HD_MESH_TOPOLOGY_SCHEMA_H
36 #define PXR_IMAGING_HD_MESH_TOPOLOGY_SCHEMA_H
50 #define HD_MESH_TOPOLOGY_SCHEMA_TOKENS \
92 static HdContainerDataSourceHandle
124 HdContainerDataSourceHandle
Build();
140 const HdContainerDataSourceHandle &fromParentContainer);
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HD_API Builder & SetFaceVertexCounts(const HdIntArrayDataSourceHandle &faceVertexCounts)
HD_API HdIntArrayDataSourceHandle GetFaceVertexCounts()
HD_API HdIntArrayDataSourceHandle GetFaceVertexIndices()
static HD_API HdMeshTopologySchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HdMeshTopologySchema(HdContainerDataSourceHandle container)
#define HD_MESH_TOPOLOGY_SCHEMA_TOKENS
HD_API HdTokenDataSourceHandle GetOrientation()
TF_DECLARE_PUBLIC_TOKENS(HdMeshTopologySchemaTokens, HD_API, HD_MESH_TOPOLOGY_SCHEMA_TOKENS)
HdIntArrayDataSource::Handle HdIntArrayDataSourceHandle
HD_API Builder & SetOrientation(const HdTokenDataSourceHandle &orientation)
static HD_API const TfToken & GetSchemaToken()
HD_API Builder & SetFaceVertexIndices(const HdIntArrayDataSourceHandle &faceVertexIndices)
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HD_API Builder & SetHoleIndices(const HdIntArrayDataSourceHandle &holeIndices)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
static HD_API HdTokenDataSourceHandle BuildOrientationDataSource(const TfToken &orientation)
HD_API HdIntArrayDataSourceHandle GetHoleIndices()
static HD_API HdContainerDataSourceHandle BuildRetained(const HdIntArrayDataSourceHandle &faceVertexCounts, const HdIntArrayDataSourceHandle &faceVertexIndices, const HdIntArrayDataSourceHandle &holeIndices, const HdTokenDataSourceHandle &orientation)
HdTokenDataSource::Handle HdTokenDataSourceHandle