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);
83 const HdContainerDataSourceHandle &fromParentContainer);
94 HdPathArrayDataSourceHandle GetPaths()
const;
97 HdPathArrayDataSourceHandle GetPrototypeRoots()
const;
141 static HdContainerDataSourceHandle
143 const HdPathArrayDataSourceHandle &paths,
144 const HdPathArrayDataSourceHandle &prototypeRoots
158 const HdPathArrayDataSourceHandle &paths);
161 const HdPathArrayDataSourceHandle &prototypeRoots);
165 HdContainerDataSourceHandle
Build();
168 HdPathArrayDataSourceHandle _paths;
169 HdPathArrayDataSourceHandle _prototypeRoots;
176PXR_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.
A schema marking a prim as instanced by another prim.
static HD_API HdInstancedBySchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
Retrieves a container data source with the schema's default name token "instancedBy" from the parent ...
static HD_API HdContainerDataSourceHandle BuildRetained(const HdPathArrayDataSourceHandle &paths, const HdPathArrayDataSourceHandle &prototypeRoots)
static HD_API const HdDataSourceLocator & GetPathsLocator()
Prim-level relative data source locator to locate paths.
static HD_API const TfToken & GetSchemaToken()
Returns a token where the container representing this schema is found in a container by default.
static HD_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
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.