28 #ifndef PXR_IMAGING_HDAR_SYSTEM_SCHEMA_H 29 #define PXR_IMAGING_HDAR_SYSTEM_SCHEMA_H 31 #include "pxr/imaging/hdar/api.h" 33 #include "pxr/imaging/hd/schema.h" 37 PXR_NAMESPACE_OPEN_SCOPE
41 #define HDARSYSTEM_SCHEMA_TOKENS \ 46 HDARSYSTEM_SCHEMA_TOKENS);
63 HdResolverContextDataSourceHandle GetResolverContext();
73 static HdContainerDataSourceHandle
75 const HdResolverContextDataSourceHandle &resolverContext
89 const HdResolverContextDataSourceHandle &resolverContext);
93 HdContainerDataSourceHandle
Build();
96 HdResolverContextDataSourceHandle _resolverContext;
108 HdSceneIndexBaseRefPtr
const &inputScene,
119 const HdContainerDataSourceHandle &fromParentContainer);
128 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...
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...
Represents an object that can identify the location of a data source.
static HD_API HdContainerDataSourceHandle GetFromPath(HdSceneIndexBaseRefPtr const &inputScene, SdfPath const &fromPath, SdfPath *foundAtPath)
Evaluates the asset resolution "system" data source for fromPath.
#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 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)
Builds a container data source which includes the provided child data sources.