HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
dataSourceUsdPrimInfo.h
Go to the documentation of this file.
1 //
2 // Copyright 2023 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_IMAGING_DATA_SOURCE_USD_PRIM_INFO_H
9 #define PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_USD_PRIM_INFO_H
10 
12 #include "pxr/usd/usd/prim.h"
13 
15 
16 /// \class UsdImagingDataSourceUsdPrimInfo
17 ///
18 /// A container data source containing metadata such as
19 /// the specifier of a prim of native instancing information.
21 {
22 public:
24 
25  TfTokenVector GetNames() override;
26  HdDataSourceBaseHandle Get(const TfToken &name) override;
27 
29 
30 private:
32 
33 private:
34  UsdPrim _usdPrim;
35 };
36 
38 
40 
41 #endif // PXR_USD_IMAGING_USD_IMAGING_DATA_SOURCE_USD_H
TfTokenVector GetNames() override
HD_DECLARE_DATASOURCE(UsdImagingDataSourceUsdPrimInfo)
Definition: token.h:70
HD_DECLARE_DATASOURCE_HANDLES(UsdImagingDataSourceUsdPrimInfo)
Definition: prim.h:116
std::vector< TfToken > TfTokenVector
Convenience types.
Definition: token.h:440
GLuint const GLchar * name
Definition: glcorearb.h:786
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
HdDataSourceBaseHandle Get(const TfToken &name) override
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74