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"
31PXR_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;
153PXR_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...
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
HDAR_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
The HdarSystemSchema specifies a container that will hold "system" data that is relevant to asset res...
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 HdContainerDataSourceHandle BuildRetained(const HdResolverContextDataSourceHandle &resolverContext)
static HDAR_API const TfToken & GetSchemaToken()
Returns a token where the container representing this schema is found in a container by default.
static HDAR_API const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
static HDAR_API HdContainerDataSourceHandle GetFromPath(HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, SdfPath *foundAtPath)
Evaluates the asset resolution "system" data source for fromPath.
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.