35#ifndef PXR_IMAGING_HD_INSTANCED_BY_SCHEMA_H
36#define PXR_IMAGING_HD_INSTANCED_BY_SCHEMA_H
40#include "pxr/imaging/hd/api.h"
42#include "pxr/imaging/hd/schema.h"
47PXR_NAMESPACE_OPEN_SCOPE
52#define HD_INSTANCED_BY_SCHEMA_TOKENS \
58 HD_INSTANCED_BY_SCHEMA_TOKENS);
82class HdInstancedBySchema :
public HdSchema
88 HdInstancedBySchema(HdContainerDataSourceHandle container)
97 static HdInstancedBySchema GetFromParent(
98 const HdContainerDataSourceHandle &fromParentContainer);
109 HdPathArrayDataSourceHandle GetPaths()
const;
112 HdPathArrayDataSourceHandle GetPrototypeRoots()
const;
122 static const TfToken &GetSchemaToken();
142 static HdContainerDataSourceHandle
144 const HdPathArrayDataSourceHandle &paths,
145 const HdPathArrayDataSourceHandle &prototypeRoots
159 const HdPathArrayDataSourceHandle &paths);
162 const HdPathArrayDataSourceHandle &prototypeRoots);
166 HdContainerDataSourceHandle
Build();
169 HdPathArrayDataSourceHandle _paths;
170 HdPathArrayDataSourceHandle _prototypeRoots;
177PXR_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.