Ocean
Loading...
Searching...
No Matches
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
15
16namespace Ocean
17{
18
19namespace Rendering
20{
21
22namespace GlobalIllumination
23{
24
25/**
26 * This class wraps a Global Illumination scene object.
27 * @ingroup renderinggi
28 */
29class 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
GIScene()
Creates a new Global Illumination scene object.
friend class GIFactory
Definition GIScene.h:33
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.
GITransform()
Creates a new Global Illumination transform node.
Scene()
Creates a new scene object.
Namespace of the Rendering Global Illumination library.
Definition GIAttribute.h:23
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15