Loading...
Searching...
No Matches
dataSourceBlendShapePrim.h
1//
2// Copyright 2025 Pixar
3//
4// Licensed under the terms set forth in the LICENSE.txt file available at
5// https://openusd.org/license.
6//
7
8#ifndef PXR_USD_IMAGING_USD_SKEL_IMAGING_DATA_SOURCE_BLEND_SHAPE_PRIM_H
9#define PXR_USD_IMAGING_USD_SKEL_IMAGING_DATA_SOURCE_BLEND_SHAPE_PRIM_H
10
11#include "pxr/usdImaging/usdSkelImaging/api.h"
12
13#include "pxr/usdImaging/usdImaging/dataSourceGprim.h"
14
15PXR_NAMESPACE_OPEN_SCOPE
16
22{
23public:
24 HD_DECLARE_DATASOURCE(UsdSkelImagingDataSourceBlendShapePrim);
25
26 USDSKELIMAGING_API
28
29 USDSKELIMAGING_API
30 HdDataSourceBaseHandle Get(const TfToken &name) override;
31
32 USDSKELIMAGING_API
33 static
35 Invalidate(
36 UsdPrim const& prim,
37 const TfToken &subprim,
38 const TfTokenVector &properties,
39 UsdImagingPropertyInvalidationType invalidationType);
40
41private:
42 USDSKELIMAGING_API
44 const SdfPath &sceneIndexPath,
45 UsdPrim usdPrim,
46 const UsdImagingDataSourceStageGlobals &stageGlobals);
47};
48
49HD_DECLARE_DATASOURCE_HANDLES(UsdSkelImagingDataSourceBlendShapePrim);
50
51PXR_NAMESPACE_CLOSE_SCOPE
52
53#endif
Represents a set of data source locators closed under descendancy.
A path value used to locate objects in layers or scenegraphs.
Definition: path.h:274
Token for efficient comparison, assignment, and hashing of known strings.
Definition: token.h:71
Data source representing a basic USD prim.
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
A prim data source for UsdSkel's BlendShape.
USDSKELIMAGING_API HdDataSourceBaseHandle Get(const TfToken &name) override
Returns the data source representing name, if valid.
USDSKELIMAGING_API TfTokenVector GetNames() override
Returns the names for which this data source can return meaningful results.
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440