18 #ifndef PXR_IMAGING_HDAR_SYSTEM_SCHEMA_H 19 #define PXR_IMAGING_HDAR_SYSTEM_SCHEMA_H 23 #include "pxr/imaging/hdar/api.h" 25 #include "pxr/imaging/hd/schema.h" 31 PXR_NAMESPACE_OPEN_SCOPE
37 #define HDAR_SYSTEM_SCHEMA_TOKENS \ 42 HDAR_SYSTEM_SCHEMA_TOKENS);
68 const HdContainerDataSourceHandle &fromParentContainer);
83 HdSceneIndexBaseRefPtr
const &inputScene,
93 HdResolverContextDataSourceHandle GetResolverContext()
const;
123 static HdContainerDataSourceHandle
125 const HdResolverContextDataSourceHandle &resolverContext
139 const HdResolverContextDataSourceHandle &resolverContext);
143 HdContainerDataSourceHandle
Build();
146 HdResolverContextDataSourceHandle _resolverContext;
153 PXR_NAMESPACE_CLOSE_SCOPE
static HDAR_API HdarSystemSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
Retrieves a container data source with the schema's default name token "assetResolution" from the par...
static HDAR_API const TfToken & GetSchemaToken()
Returns a token where the container representing this schema is found in a container by default.
Standard pointer typedefs.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
The HdarSystemSchema specifies a container that will hold "system" data that is relevant to asset res...
Token for efficient comparison, assignment, and hashing of known strings.
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 HDAR_API HdContainerDataSourceHandle GetFromPath(HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, SdfPath *foundAtPath)
Evaluates the asset resolution "system" data source for fromPath.
static HDAR_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
#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...
HDAR_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
static HDAR_API HdContainerDataSourceHandle BuildRetained(const HdResolverContextDataSourceHandle &resolverContext)