35 #ifndef PXR_IMAGING_HD_MESH_SCHEMA_H
36 #define PXR_IMAGING_HD_MESH_SCHEMA_H
52 #define HD_MESH_SCHEMA_TOKENS \
100 static HdContainerDataSourceHandle
102 const HdContainerDataSourceHandle &
topology,
104 const HdContainerDataSourceHandle &subdivisionTags,
105 const HdContainerDataSourceHandle &geomSubsets,
120 const HdContainerDataSourceHandle &
topology);
126 const HdContainerDataSourceHandle &subdivisionTags);
129 const HdContainerDataSourceHandle &geomSubsets);
136 HdContainerDataSourceHandle
Build();
139 HdContainerDataSourceHandle _topology;
141 HdContainerDataSourceHandle _subdivisionTags;
142 HdContainerDataSourceHandle _geomSubsets;
153 const HdContainerDataSourceHandle &fromParentContainer);
static HD_API const HdDataSourceLocator & GetSubdivisionTagsLocator()
Prim-level relative data source locator to locate subdivisionTags.
HdMeshSchema(HdContainerDataSourceHandle container)
HD_API Builder & SetSubdivisionTags(const HdContainerDataSourceHandle &subdivisionTags)
static HD_API HdContainerDataSourceHandle BuildRetained(const HdContainerDataSourceHandle &topology, const HdTokenDataSourceHandle &subdivisionScheme, const HdContainerDataSourceHandle &subdivisionTags, const HdContainerDataSourceHandle &geomSubsets, const HdBoolDataSourceHandle &doubleSided)
HD_API Builder & SetSubdivisionScheme(const HdTokenDataSourceHandle &subdivisionScheme)
GT_API const UT_StringHolder topology
HD_API HdGeomSubsetsSchema GetGeomSubsets()
HdBoolDataSource::Handle HdBoolDataSourceHandle
HD_API Builder & SetDoubleSided(const HdBoolDataSourceHandle &doubleSided)
static HD_API const TfToken & GetSchemaToken()
HD_API HdTokenDataSourceHandle GetSubdivisionScheme()
static HD_API const HdDataSourceLocator & GetDoubleSidedLocator()
Prim-level relative data source locator to locate doubleSided.
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HD_API Builder & SetGeomSubsets(const HdContainerDataSourceHandle &geomSubsets)
static HD_API HdMeshSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
HD_API HdBoolDataSourceHandle GetDoubleSided()
TF_DECLARE_PUBLIC_TOKENS(HdMeshSchemaTokens, HD_API, HD_MESH_SCHEMA_TOKENS)
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
HD_API HdSubdivisionTagsSchema GetSubdivisionTags()
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API HdMeshTopologySchema GetTopology()
static HD_API const HdDataSourceLocator & GetGeomSubsetsLocator()
Prim-level relative data source locator to locate geomSubsets.
static HD_API const HdDataSourceLocator & GetSubdivisionSchemeLocator()
Prim-level relative data source locator to locate subdivisionScheme.
HD_API Builder & SetTopology(const HdContainerDataSourceHandle &topology)
#define HD_MESH_SCHEMA_TOKENS
HdTokenDataSource::Handle HdTokenDataSourceHandle
static HD_API const HdDataSourceLocator & GetTopologyLocator()
Prim-level relative data source locator to locate topology.