Ocean
Loading...
Searching...
No Matches
GLESShape.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_SHAPE_H
9#define META_OCEAN_RENDERING_GLES_SHAPE_H
10
13
17
18namespace Ocean
19{
20
21namespace Rendering
22{
23
24namespace GLESceneGraph
25{
26
27/**
28 * This class is the base class for all GLESceneGraph shape objects.
29 * @ingroup renderinggles
30 */
31class OCEAN_RENDERING_GLES_EXPORT GLESShape :
32 virtual public GLESRenderable,
33 virtual public Shape
34{
35 protected:
36
37 /**
38 * Creates a new GLESceneGraph shape object.
39 */
41
42 /**
43 * Destructs a GLESceneGrpah shape object.
44 */
45 ~GLESShape() override;
46
47 /**
48 * Rebuilds the primitive vertex, normals and face sets.
49 */
50 virtual void rebuildPrimitives() = 0;
51
52 protected:
53
54 /// Vertex set holding vertices and normals
56};
57
58}
59
60}
61
62}
63
64#endif // META_OCEAN_RENDERING_GLES_SHAPE_H
This class is the base class for all GLESceneGraph renderable objects.
Definition GLESRenderable.h:42
This class is the base class for all GLESceneGraph shape objects.
Definition GLESShape.h:34
~GLESShape() override
Destructs a GLESceneGrpah shape object.
VertexSetRef shapeVertexSet
Vertex set holding vertices and normals.
Definition GLESShape.h:55
virtual void rebuildPrimitives()=0
Rebuilds the primitive vertex, normals and face sets.
GLESShape()
Creates a new GLESceneGraph shape object.
This class is the base class for all geometries.
Definition rendering/Shape.h:35
The namespace covering the entire Ocean framework.
Definition Accessor.h:15