18#ifndef PXR_USD_IMAGING_USD_IMAGING_MODEL_SCHEMA_H
19#define PXR_USD_IMAGING_USD_IMAGING_MODEL_SCHEMA_H
23#include "pxr/usdImaging/usdImaging/api.h"
25#include "pxr/imaging/hd/schema.h"
30PXR_NAMESPACE_OPEN_SCOPE
35#define USD_IMAGING_MODEL_SCHEMA_TOKENS \
43 USD_IMAGING_MODEL_SCHEMA_TOKENS);
48class UsdImagingModelSchema :
public HdSchema
54 UsdImagingModelSchema(HdContainerDataSourceHandle container)
63 static UsdImagingModelSchema GetFromParent(
64 const HdContainerDataSourceHandle &fromParentContainer);
75 HdPathDataSourceHandle GetModelPath()
const;
78 HdAssetPathDataSourceHandle GetAssetIdentifier()
const;
81 HdStringDataSourceHandle GetAssetName()
const;
84 HdStringDataSourceHandle GetAssetVersion()
const;
94 static const TfToken &GetSchemaToken();
114 static HdContainerDataSourceHandle
116 const HdPathDataSourceHandle &modelPath,
117 const HdAssetPathDataSourceHandle &assetIdentifier,
118 const HdStringDataSourceHandle &assetName,
119 const HdStringDataSourceHandle &assetVersion
133 const HdPathDataSourceHandle &modelPath);
136 const HdAssetPathDataSourceHandle &assetIdentifier);
139 const HdStringDataSourceHandle &assetName);
142 const HdStringDataSourceHandle &assetVersion);
146 HdContainerDataSourceHandle
Build();
149 HdPathDataSourceHandle _modelPath;
150 HdAssetPathDataSourceHandle _assetIdentifier;
151 HdStringDataSourceHandle _assetName;
152 HdStringDataSourceHandle _assetVersion;
159PXR_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.