28 #ifndef PXR_IMAGING_HD_INSTANCED_BY_SCHEMA_H 29 #define PXR_IMAGING_HD_INSTANCED_BY_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 35 PXR_NAMESPACE_OPEN_SCOPE
39 #define HDINSTANCEDBY_SCHEMA_TOKENS \ 45 HDINSTANCEDBY_SCHEMA_TOKENS);
69 class HdInstancedBySchema :
public HdSchema 72 HdInstancedBySchema(HdContainerDataSourceHandle container)
78 HdPathArrayDataSourceHandle GetPaths();
80 HdPathArrayDataSourceHandle GetPrototypeRoots();
90 static HdContainerDataSourceHandle
92 const HdPathArrayDataSourceHandle &paths,
93 const HdPathArrayDataSourceHandle &prototypeRoots
107 const HdPathArrayDataSourceHandle &paths);
110 const HdPathArrayDataSourceHandle &prototypeRoots);
114 HdContainerDataSourceHandle
Build();
117 HdPathArrayDataSourceHandle _paths;
118 HdPathArrayDataSourceHandle _prototypeRoots;
127 static HdInstancedBySchema GetFromParent(
128 const HdContainerDataSourceHandle &fromParentContainer);
137 PXR_NAMESPACE_CLOSE_SCOPE
HD_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
Represents an object that can identify the location of a data source.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
Schema classes represent a structured view of the inherently unstructured container data source passe...