Ocean
GIScene.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_SCENE_H
9 #define META_OCEAN_RENDERING_GI_SCENE_H
10 
13 
14 #include "ocean/rendering/Scene.h"
15 
16 namespace Ocean
17 {
18 
19 namespace Rendering
20 {
21 
22 namespace GlobalIllumination
23 {
24 
25 /**
26  * This class wraps a Global Illumination scene object.
27  * @ingroup renderinggi
28  */
29 class OCEAN_RENDERING_GI_EXPORT GIScene :
30  virtual public GITransform,
31  virtual public Scene
32 {
33  friend class GIFactory;
34 
35  protected:
36 
37  /**
38  * Creates a new Global Illumination scene object.
39  */
41 
42  /**
43  * Destructs a Global Illumination scene object.
44  */
45  ~GIScene() override;
46 
47  /**
48  * Sets whether this scene is lit with the view's headlight in case the view's headlight is active.
49  * @see Scene::setUseHeadlight().
50  */
51  void setUseHeadlight(const bool state) override;
52 };
53 
54 }
55 
56 }
57 
58 }
59 
60 #endif // META_OCEAN_RENDERING_GI_SCENE_H
This class implements a class factory for all Global Illumination objects.
Definition: GIFactory.h:30
This class wraps a Global Illumination scene object.
Definition: GIScene.h:32
GIScene()
Creates a new Global Illumination scene object.
void setUseHeadlight(const bool state) override
Sets whether this scene is lit with the view's headlight in case the view's headlight is active.
~GIScene() override
Destructs a Global Illumination scene object.
This class implements a Global Illumination transform object.
Definition: GITransform.h:32
This is the base class for all rendering scenes.
Definition: rendering/Scene.h:44
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15