18#ifndef PXR_IMAGING_HD_GEOM_SUBSET_SCHEMA_H
19#define PXR_IMAGING_HD_GEOM_SUBSET_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define HD_GEOM_SUBSET_SCHEMA_TOKENS \
44 HD_GEOM_SUBSET_SCHEMA_TOKENS);
51class HdGeomSubsetSchema :
public HdSchema
57 HdGeomSubsetSchema(HdContainerDataSourceHandle container)
66 static HdGeomSubsetSchema GetFromParent(
67 const HdContainerDataSourceHandle &fromParentContainer);
78 HdTokenDataSourceHandle GetType()
const;
81 HdIntArrayDataSourceHandle GetIndices()
const;
91 static const TfToken &GetSchemaToken();
111 static HdContainerDataSourceHandle
113 const HdTokenDataSourceHandle &type,
114 const HdIntArrayDataSourceHandle &indices
128 const HdTokenDataSourceHandle &type);
131 const HdIntArrayDataSourceHandle &indices);
135 HdContainerDataSourceHandle
Build();
138 HdTokenDataSourceHandle _type;
139 HdIntArrayDataSourceHandle _indices;
151 static HdTokenDataSourceHandle BuildTypeDataSource(
157PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.