HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dataSourceBlendShapePrim.h
Go to the documentation of this file.
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 
12 
14 
16 
17 /// \class UsdSkelImagingDataSourceBlendShapePrim
18 ///
19 /// A prim data source for UsdSkel's BlendShape.
20 ///
22 {
23 public:
25 
27  TfTokenVector GetNames() override;
28 
30  HdDataSourceBaseHandle Get(const TfToken &name) override;
31 
33  static
35  Invalidate(
36  UsdPrim const& prim,
37  const TfToken &subprim,
38  const TfTokenVector &properties,
39  UsdImagingPropertyInvalidationType invalidationType);
40 
41 private:
44  const SdfPath &sceneIndexPath,
45  UsdPrim usdPrim,
46  const UsdImagingDataSourceStageGlobals &stageGlobals);
47 };
48 
50 
52 
53 #endif
static USDSKELIMAGING_API HdDataSourceLocatorSet Invalidate(UsdPrim const &prim, const TfToken &subprim, const TfTokenVector &properties, UsdImagingPropertyInvalidationType invalidationType)
HD_DECLARE_DATASOURCE(UsdSkelImagingDataSourceBlendShapePrim)
USDSKELIMAGING_API HdDataSourceBaseHandle Get(const TfToken &name) override
USDSKELIMAGING_API TfTokenVector GetNames() override
Definition: token.h:70
HD_DECLARE_DATASOURCE_HANDLES(UsdSkelImagingDataSourceBlendShapePrim)
Definition: prim.h:116
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440
GLuint const GLchar * name
Definition: glcorearb.h:786
Definition: path.h:273
#define USDSKELIMAGING_API
Definition: api.h:23
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
UsdImagingPropertyInvalidationType
Definition: types.h:17