18#ifndef PXR_IMAGING_HD_PRIM_ORIGIN_SCHEMA_H
19#define PXR_IMAGING_HD_PRIM_ORIGIN_SCHEMA_H
23#include "pxr/imaging/hd/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define HD_PRIM_ORIGIN_SCHEMA_TOKENS \
40 HD_PRIM_ORIGIN_SCHEMA_TOKENS);
45class HdPrimOriginSchema :
public HdSchema
51 HdPrimOriginSchema(HdContainerDataSourceHandle container)
60 static HdPrimOriginSchema GetFromParent(
61 const HdContainerDataSourceHandle &fromParentContainer);
75 const SdfPath &GetPath()
const {
return _path; }
77 bool operator==(
const OriginPath &other)
const {
78 return _path == other._path;
83 friend std::ostream &operator <<(std::ostream &stream,
108 static const TfToken &GetSchemaToken();
138PXR_NAMESPACE_CLOSE_SCOPE
Represents an object that can identify the location of a data source.
Wraps an SdfPath so that it is not affected by the prefixing scene index.
Schema classes represent a structured view of the inherently unstructured container data source passe...
A datasource representing a concretely-typed sampled value.
A path value used to locate objects in layers or scenegraphs.
Token for efficient comparison, assignment, and hashing of known strings.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.