28 #ifndef PXR_IMAGING_HD_SYSTEM_SCHEMA_H 29 #define PXR_IMAGING_HD_SYSTEM_SCHEMA_H 31 #include "pxr/imaging/hd/api.h" 33 #include "pxr/imaging/hd/schema.h" 37 PXR_NAMESPACE_OPEN_SCOPE
41 #define HDSYSTEM_SCHEMA_TOKENS \ 45 HDSYSTEM_SCHEMA_TOKENS);
70 HdSceneIndexBaseRefPtr
const &inputScene,
84 static HdContainerDataSourceHandle
Compose(
85 HdSceneIndexBaseRefPtr
const &inputScene,
98 HdSceneIndexBaseRefPtr
const &inputScene,
109 const HdContainerDataSourceHandle &fromParentContainer);
118 PXR_NAMESPACE_CLOSE_SCOPE
static HD_API HdContainerDataSourceHandle ComposeAsPrimDataSource(HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, SdfPath *foundAtPath)
Similar to Compose but this return value would be suitable for using with HdOverlayContainerDataSourc...
Standard pointer typedefs.
static HD_API HdSystemSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
Retrieves a container data source with the schema's default name token "system" from the parent conta...
Token for efficient comparison, assignment, and hashing of known strings.
The HdSystemSchema specifies a container that will hold "system" data.
Represents an object that can identify the location of a data source.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
Abstract interface to scene data.
A path value used to locate objects in layers or scenegraphs.
static HD_API HdDataSourceBaseHandle GetFromPath(HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, TfToken const &key, SdfPath *foundAtPath)
Evaluates the key at fromPath.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
Schema classes represent a structured view of the inherently unstructured container data source passe...
static HD_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
static HD_API HdContainerDataSourceHandle Compose(HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, SdfPath *foundAtPath)
Composes the system container in at fromPath by walking up the prim.dataSources in inputScene and com...