HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
generativeProceduralPluginRegistry.h
Go to the documentation of this file.
1 //
2 // Copyright 2022 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_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_PLUGIN_REGISTRY_H
8 #define PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_PLUGIN_REGISTRY_H
9 
10 #include "pxr/pxr.h"
11 #include "pxr/base/tf/singleton.h"
13 #include "pxr/imaging/hdGp/api.h"
14 
16 
18 
20 {
21 public:
22  ///
23  /// Returns the singleton registry for \c HdSceneIndexPlugin
24  ///
25  HDGP_API
27 
28  ///
29  /// Entry point for defining an HdSceneIndexPlugin plugin.
30  ///
31  template<typename T, typename... Bases>
32  static void Define();
33 
34  HDGP_API
36  const TfToken &proceduralTypeName,
37  const SdfPath &proceduralPrimPath);
38 
39 private:
41 
42  // Singleton gets private constructed
45 
46 };
47 
48 
49 template<typename T, typename... Bases>
51 {
53 }
54 
56 
57 #endif
58 
#define HDGP_API
Definition: api.h:23
Definition: token.h:70
static HDGP_API HdGpGenerativeProceduralPluginRegistry & GetInstance()
Definition: path.h:273
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
static void Define()
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
HDGP_API HdGpGenerativeProcedural * ConstructProcedural(const TfToken &proceduralTypeName, const SdfPath &proceduralPrimPath)