18#ifndef PXR_IMAGING_HD_COLLECTIONS_SCHEMA_H
19#define PXR_IMAGING_HD_COLLECTIONS_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
26#include "pxr/imaging/hd/schema.h"
31PXR_NAMESPACE_OPEN_SCOPE
36#define HD_COLLECTIONS_SCHEMA_TOKENS \
40 HD_COLLECTIONS_SCHEMA_TOKENS);
66 const HdContainerDataSourceHandle &fromParentContainer);
80 HdCollectionSchema GetCollection(
const TfToken &name)
const;
102 static HdContainerDataSourceHandle
106 const HdDataSourceBaseHandle *values);
111PXR_NAMESPACE_CLOSE_SCOPE
The HdCollectionsSchema specifies a wrapper container for collection entries with the key being the c...
static HD_API HdCollectionsSchema GetFromParent(const HdContainerDataSourceHandle &fromParentContainer)
Retrieves a container data source with the schema's default name token "collections" from the parent ...
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 const HdDataSourceLocator & GetDefaultLocator()
Returns an HdDataSourceLocator (relative to the prim-level data source) where the container represent...
Represents an object that can identify the location of a data source.
Schema classes represent a structured view of the inherently unstructured container data source passe...
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.
std::vector< TfToken > TfTokenVector
Convenience types.