Loading...
Searching...
No Matches
motionAPIAdapter.h
1//
2// Copyright 2026 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7#ifndef PXR_USD_IMAGING_USD_IMAGING_MOTION_API_ADAPTER_H
8#define PXR_USD_IMAGING_USD_IMAGING_MOTION_API_ADAPTER_H
9
10#include "pxr/usdImaging/usdImaging/api.h"
12#include "pxr/usdImaging/usdImaging/types.h"
13
14#include "pxr/imaging/hd/dataSource.h"
15#include "pxr/imaging/hd/dataSourceLocator.h"
16
17#include "pxr/usd/usd/prim.h"
18
19#include "pxr/base/tf/token.h"
20
21#include "pxr/pxr.h"
22
23PXR_NAMESPACE_OPEN_SCOPE
24
25class UsdImagingMotionAPIAdapter : public UsdImagingAPISchemaAdapter
26{
27public:
28 using BaseAdapter = UsdImagingAPISchemaAdapter;
29
30 USDIMAGING_API
31 HdContainerDataSourceHandle GetImagingSubprimData(
32 UsdPrim const& prim,
33 TfToken const& subprim,
34 TfToken const& appliedInstanceName,
35 const UsdImagingDataSourceStageGlobals &stageGlobals) override;
36
37 USDIMAGING_API
38 HdDataSourceLocatorSet InvalidateImagingSubprim(
39 UsdPrim const& prim,
40 TfToken const& subprim,
41 TfToken const& appliedInstanceName,
42 TfTokenVector const& properties,
43 UsdImagingPropertyInvalidationType invalidationType) override;
44};
45
46PXR_NAMESPACE_CLOSE_SCOPE
47
48#endif // PXR_USD_IMAGING_USD_IMAGING_MOTION_API_ADAPTER_H
Represents a set of data source locators closed under descendancy.
Token for efficient comparison, assignment, and hashing of known strings.
Definition token.h:71
Base class for all API schema adapters.
This class is used as a context object with global stage information, that gets passed down to dataso...
UsdPrim is the sole persistent scenegraph object on a UsdStage, and is the embodiment of a "Prim" as ...
Definition prim.h:117
TfToken class for efficient string referencing and hashing, plus conversions to and from stl string c...
std::vector< TfToken > TfTokenVector
Convenience types.
Definition token.h:440