35 #ifndef PXR_IMAGING_HD_INSTANCER_TOPOLOGY_SCHEMA_H
36 #define PXR_IMAGING_HD_INSTANCER_TOPOLOGY_SCHEMA_H
55 #define HD_INSTANCER_TOPOLOGY_SCHEMA_TOKENS \
143 static HdContainerDataSourceHandle
146 const HdVectorDataSourceHandle &instanceIndices,
165 const HdVectorDataSourceHandle &instanceIndices);
175 HdContainerDataSourceHandle
Build();
179 HdVectorDataSourceHandle _instanceIndices;
191 const HdContainerDataSourceHandle &fromParentContainer);
HD_API HdIntArrayVectorSchema GetInstanceIndices()
HD_API Builder & SetPrototypes(const HdPathArrayDataSourceHandle &prototypes)
HdBoolArrayDataSource::Handle HdBoolArrayDataSourceHandle
HD_API HdPathArrayDataSourceHandle GetPrototypes()
HdPathArrayDataSource::Handle HdPathArrayDataSourceHandle
static HD_API HdContainerDataSourceHandle BuildRetained(const HdPathArrayDataSourceHandle &prototypes, const HdVectorDataSourceHandle &instanceIndices, const HdBoolArrayDataSourceHandle &mask, const HdPathArrayDataSourceHandle &instanceLocations)
GLsizei const GLchar *const * path
TF_DECLARE_PUBLIC_TOKENS(HdInstancerTopologySchemaTokens, HD_API, HD_INSTANCER_TOPOLOGY_SCHEMA_TOKENS)
HD_API Builder & SetInstanceIndices(const HdVectorDataSourceHandle &instanceIndices)
static HD_API HdInstancerTopologySchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
HD_API Builder & SetInstanceLocations(const HdPathArrayDataSourceHandle &instanceLocations)
HD_API Builder & SetMask(const HdBoolArrayDataSourceHandle &mask)
HD_API VtArray< int > ComputeInstanceIndicesForProto(SdfPath const &path)
static HD_API const TfToken & GetSchemaToken()
HdInstancerTopologySchema(HdContainerDataSourceHandle container)
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
#define HD_INSTANCER_TOPOLOGY_SCHEMA_TOKENS
#define PXR_NAMESPACE_CLOSE_SCOPE
HD_API HdPathArrayDataSourceHandle GetInstanceLocations()
static HD_API const HdDataSourceLocator & GetDefaultLocator()
HD_API HdBoolArrayDataSourceHandle GetMask()