35#ifndef PXR_USD_IMAGING_USD_IMAGING_MODEL_SCHEMA_H
36#define PXR_USD_IMAGING_USD_IMAGING_MODEL_SCHEMA_H
40#include "pxr/usdImaging/usdImaging/api.h"
42#include "pxr/imaging/hd/schema.h"
47PXR_NAMESPACE_OPEN_SCOPE
52#define USD_IMAGING_MODEL_SCHEMA_TOKENS \
60 USD_IMAGING_MODEL_SCHEMA_TOKENS);
65class UsdImagingModelSchema :
public HdSchema
71 UsdImagingModelSchema(HdContainerDataSourceHandle container)
80 static UsdImagingModelSchema GetFromParent(
81 const HdContainerDataSourceHandle &fromParentContainer);
92 HdPathDataSourceHandle GetModelPath()
const;
95 HdAssetPathDataSourceHandle GetAssetIdentifier()
const;
98 HdStringDataSourceHandle GetAssetName()
const;
101 HdStringDataSourceHandle GetAssetVersion()
const;
111 static const TfToken &GetSchemaToken();
131 static HdContainerDataSourceHandle
133 const HdPathDataSourceHandle &modelPath,
134 const HdAssetPathDataSourceHandle &assetIdentifier,
135 const HdStringDataSourceHandle &assetName,
136 const HdStringDataSourceHandle &assetVersion
150 const HdPathDataSourceHandle &modelPath);
153 const HdAssetPathDataSourceHandle &assetIdentifier);
156 const HdStringDataSourceHandle &assetName);
159 const HdStringDataSourceHandle &assetVersion);
163 HdContainerDataSourceHandle
Build();
166 HdPathDataSourceHandle _modelPath;
167 HdAssetPathDataSourceHandle _assetIdentifier;
168 HdStringDataSourceHandle _assetName;
169 HdStringDataSourceHandle _assetVersion;
176PXR_NAMESPACE_CLOSE_SCOPE
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.
Utility class for setting sparse sets of child data source fields to be filled as arguments into Buil...
USDIMAGING_API HdContainerDataSourceHandle Build()
Returns a container data source containing the members set thus far.
#define TF_DECLARE_PUBLIC_TOKENS(...)
Macro to define public tokens.