28 #ifndef PXR_IMAGING_HD_GEOM_SUBSET_SCHEMA_H 29 #define PXR_IMAGING_HD_GEOM_SUBSET_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 35 PXR_NAMESPACE_OPEN_SCOPE
39 #define HDGEOMSUBSET_SCHEMA_TOKENS \ 47 HDGEOMSUBSET_SCHEMA_TOKENS);
51 class HdGeomSubsetSchema :
public HdSchema 54 HdGeomSubsetSchema(HdContainerDataSourceHandle container)
60 HdTokenDataSourceHandle GetType();
62 HdIntArrayDataSourceHandle GetIndices();
72 static HdContainerDataSourceHandle
74 const HdTokenDataSourceHandle &type,
75 const HdIntArrayDataSourceHandle &indices
89 const HdTokenDataSourceHandle &type);
92 const HdIntArrayDataSourceHandle &indices);
96 HdContainerDataSourceHandle
Build();
99 HdTokenDataSourceHandle _type;
100 HdIntArrayDataSourceHandle _indices;
110 static HdTokenDataSourceHandle BuildTypeDataSource(
115 PXR_NAMESPACE_CLOSE_SCOPE
Token for efficient comparison, assignment, and hashing of known strings.
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Schema classes represent a structured view of the inherently unstructured container data source passe...