28 #ifndef PXR_IMAGING_HD_INSTANCE_SCHEMA_H 29 #define PXR_IMAGING_HD_INSTANCE_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 35 PXR_NAMESPACE_OPEN_SCOPE
39 #define HDINSTANCE_SCHEMA_TOKENS \ 44 HDINSTANCE_SCHEMA_TOKENS);
58 class HdInstanceSchema :
public HdSchema 61 HdInstanceSchema(HdContainerDataSourceHandle container)
67 HdPathArrayDataSourceHandle GetPath();
77 static HdContainerDataSourceHandle
79 const HdPathArrayDataSourceHandle &path
93 const HdPathArrayDataSourceHandle &path);
97 HdContainerDataSourceHandle
Build();
100 HdPathArrayDataSourceHandle _path;
109 static HdInstanceSchema GetFromParent(
110 const HdContainerDataSourceHandle &fromParentContainer);
119 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...