Ocean
Loading...
Searching...
No Matches
GLESScene.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_GLES_SCENE_H
9#define META_OCEAN_RENDERING_GLES_SCENE_H
10
13
15
18
19namespace Ocean
20{
21
22namespace Rendering
23{
24
25namespace GLESceneGraph
26{
27
28/**
29 * This class implements a GLESceneGraph scene object.
30 * @ingroup renderinggles
31 */
32class OCEAN_RENDERING_GLES_EXPORT GLESScene :
33 virtual public GLESTransform,
34 virtual public Scene
35{
36 friend class GLESFactory;
37
38 public:
39
40 /**
41 * Adds this node and all child node to a traverser.
42 * @see GLESNode::addToTraverser().
43 */
44 void addToTraverser(const GLESFramebuffer& framebuffer, const SquareMatrix4& projectionMatrix, const HomogenousMatrix4& camera_T_parent, const Lights& lights, GLESTraverser& traverser) const override;
45
46 protected:
47
48 /**
49 * Creates a new GLESceneGraph scene object.
50 */
52
53 /**
54 * Destructs a GLESceneGraph scene object.
55 */
56 ~GLESScene() override;
57};
58
59}
60
61}
62
63}
64
65#endif // META_OCEAN_RENDERING_GLES_SCENE_H
This class implements a base for all GLESceneGraph framebuffers.
Definition rendering/glescenegraph/GLESFramebuffer.h:34
friend class GLESFactory
Definition GLESScene.h:36
GLESScene()
Creates a new GLESceneGraph scene object.
~GLESScene() override
Destructs a GLESceneGraph scene object.
void addToTraverser(const GLESFramebuffer &framebuffer, const SquareMatrix4 &projectionMatrix, const HomogenousMatrix4 &camera_T_parent, const Lights &lights, GLESTraverser &traverser) const override
Adds this node and all child node to a traverser.
GLESTransform()
Creates a new GLESceneGraph transform node.
This class implements a traverser for renderables.
Definition GLESTraverser.h:39
Scene()
Creates a new scene object.
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
SquareMatrixT4< Scalar > SquareMatrix4
Definition of the SquareMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix4.h:39
std::vector< LightPair > Lights
Definition of a set holding light sources.
Definition GLESLightSource.h:44
Namespace of the Rendering GLESceneGraph library.
Definition rendering/glescenegraph/android/Android.h:20
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15