35#ifndef PXR_IMAGING_HD_GEOM_SUBSET_SCHEMA_H
36#define PXR_IMAGING_HD_GEOM_SUBSET_SCHEMA_H
40#include "pxr/imaging/hd/api.h"
42#include "pxr/imaging/hd/schema.h"
47PXR_NAMESPACE_OPEN_SCOPE
52#define HD_GEOM_SUBSET_SCHEMA_TOKENS \
60 HD_GEOM_SUBSET_SCHEMA_TOKENS);
65class HdGeomSubsetSchema :
public HdSchema
71 HdGeomSubsetSchema(HdContainerDataSourceHandle container)
83 HdTokenDataSourceHandle GetType()
const;
86 HdIntArrayDataSourceHandle GetIndices()
const;
101 static HdContainerDataSourceHandle
103 const HdTokenDataSourceHandle &type,
104 const HdIntArrayDataSourceHandle &indices
118 const HdTokenDataSourceHandle &type);
121 const HdIntArrayDataSourceHandle &indices);
125 HdContainerDataSourceHandle
Build();
128 HdTokenDataSourceHandle _type;
129 HdIntArrayDataSourceHandle _indices;
141 static HdTokenDataSourceHandle BuildTypeDataSource(
147PXR_NAMESPACE_CLOSE_SCOPE
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.