18#ifndef PXR_IMAGING_HD_SYSTEM_SCHEMA_H
19#define PXR_IMAGING_HD_SYSTEM_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
31PXR_NAMESPACE_OPEN_SCOPE
37#define HD_SYSTEM_SCHEMA_TOKENS \
41 HD_SYSTEM_SCHEMA_TOKENS);
69 const HdContainerDataSourceHandle &fromParentContainer);
82 HdSceneIndexBaseRefPtr
const &inputScene,
96 static HdContainerDataSourceHandle
Compose(
97 HdSceneIndexBaseRefPtr
const &inputScene,
110 HdSceneIndexBaseRefPtr
const &inputScene,
142PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Abstract interface to scene data.
Schema classes represent a structured view of the inherently unstructured container data source passe...
The HdSystemSchema specifies a container that will hold "system" data.
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...
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...
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...
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 HdDataSourceBaseHandle GetFromPath(HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, TfToken const &key, SdfPath *foundAtPath)
Evaluates the key at fromPath.
static HD_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
Standard pointer typedefs.
#define TF_DECLARE_REF_PTRS(type)
Define standard ref pointer types.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.