18#ifndef PXR_IMAGING_HD_INSTANCED_BY_SCHEMA_H
19#define PXR_IMAGING_HD_INSTANCED_BY_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define HD_INSTANCED_BY_SCHEMA_TOKENS \
41 HD_INSTANCED_BY_SCHEMA_TOKENS);
65class HdInstancedBySchema :
public HdSchema
71 HdInstancedBySchema(HdContainerDataSourceHandle container)
80 static HdInstancedBySchema GetFromParent(
81 const HdContainerDataSourceHandle &fromParentContainer);
92 HdPathArrayDataSourceHandle GetPaths()
const;
95 HdPathArrayDataSourceHandle GetPrototypeRoots()
const;
105 static const TfToken &GetSchemaToken();
139 static HdContainerDataSourceHandle
141 const HdPathArrayDataSourceHandle &paths,
142 const HdPathArrayDataSourceHandle &prototypeRoots
156 const HdPathArrayDataSourceHandle &paths);
159 const HdPathArrayDataSourceHandle &prototypeRoots);
163 HdContainerDataSourceHandle
Build();
166 HdPathArrayDataSourceHandle _paths;
167 HdPathArrayDataSourceHandle _prototypeRoots;
174PXR_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.