HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
generativeProceduralPlugin.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_H
8 #define PXR_IMAGING_HD_GP_GENERATIVE_PROCEDURAL_PLUGIN_H
9 
11 
12 #include "pxr/pxr.h"
13 #include "pxr/imaging/hdGp/api.h"
15 
17 
18 /// \class HdGpGenerativeProceduralPlugin
19 ///
20 /// HdGpGenerativeProceduralPlugin represents an HdGpGenerativeProcedural for
21 /// plug-in discovery via HdGpGenerativeProceduralPluginRegistry.
22 ///
24 {
25 public:
26 
27  /// Subclasses implement this to instantiate an HdGpGenerativeProcedural
28  /// at a given prim path.
29  HDGP_API
31  const SdfPath &proceduralPrimPath);
32 
33 protected:
34 
35  HDGP_API
37 
38  HDGP_API
40 };
41 
43 
44 #endif
#define HDGP_API
Definition: api.h:23
virtual HDGP_API HdGpGenerativeProcedural * Construct(const SdfPath &proceduralPrimPath)
Definition: path.h:273
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
HDGP_API ~HdGpGenerativeProceduralPlugin() override