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/imaging/hdGp/api.h"
13 #include "pxr/base/tf/singleton.h"
15 
17 
19 {
20 public:
21  ///
22  /// Returns the singleton registry for \c HdSceneIndexPlugin
23  ///
24  HDGP_API
26 
27  ///
28  /// Entry point for defining an HdSceneIndexPlugin plugin.
29  ///
30  template<typename T, typename... Bases>
31  static void Define();
32 
33  HDGP_API
35  const TfToken &proceduralTypeName,
36  const SdfPath &proceduralPrimPath);
37 
38 private:
40 
41  // Singleton gets private constructed
44 
45 };
46 
47 
48 template<typename T, typename... Bases>
50 {
52 }
53 
55 
56 #endif
57 
#define HDGP_API
Definition: api.h:23
#define PXR_NAMESPACE_OPEN_SCOPE
Definition: pxr.h:73
Definition: token.h:70
static HDGP_API HdGpGenerativeProceduralPluginRegistry & GetInstance()
Definition: path.h:280
static void Define()
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
HDGP_API HdGpGenerativeProcedural * ConstructProcedural(const TfToken &proceduralTypeName, const SdfPath &proceduralPrimPath)