Ocean
GIObject.h
Go to the documentation of this file.
1 /*
2  * Copyright (c) Meta Platforms, Inc. and affiliates.
3  *
4  * This source code is licensed under the MIT license found in the
5  * LICENSE file in the root directory of this source tree.
6  */
7 
8 #ifndef META_OCEAN_RENDERING_GI_OBJECT_H
9 #define META_OCEAN_RENDERING_GI_OBJECT_H
10 
12 
13 #include "ocean/rendering/Object.h"
14 
15 namespace Ocean
16 {
17 
18 namespace Rendering
19 {
20 
21 namespace GlobalIllumination
22 {
23 
24 /**
25  * This class is the base class for all Global Illumination objects.
26  * @ingroup renderinggi
27  */
28 class OCEAN_RENDERING_GI_EXPORT GIObject : virtual public Object
29 {
30  public:
31 
32  /**
33  * Returns the id of the owner engine.
34  * @see Objecgt::engineId().
35  */
36  const std::string& engineName() const override;
37 
38  protected:
39 
40  /**
41  * Creates a new Global Illumination object.
42  */
44 
45  /**
46  * Destructs a Global Illumination object.
47  */
48  ~GIObject() override;
49 };
50 
51 }
52 
53 }
54 
55 }
56 
57 #endif // META_OCEAN_RENDERING_GI_OBJECT_H
This class is the base class for all Global Illumination objects.
Definition: GIObject.h:29
const std::string & engineName() const override
Returns the id of the owner engine.
GIObject()
Creates a new Global Illumination object.
~GIObject() override
Destructs a Global Illumination object.
This class is the base class for all rendering objects.
Definition: Object.h:54
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15