Ocean
GLESStripPrimitive.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_STRIP_PRIMITIVE_H
9 #define META_OCEAN_RENDERING_GLES_STRIP_PRIMITIVE_H
10 
13 
15 
16 namespace Ocean
17 {
18 
19 namespace Rendering
20 {
21 
22 namespace GLESceneGraph
23 {
24 
25 /**
26  * This class is the base class for all GLESceneGraph stripped primitives.
27  * @ingroup renderinggles
28  */
29 class OCEAN_RENDERING_GLES_EXPORT GLESStripPrimitive :
30  virtual public GLESPrimitive,
31  virtual public StripPrimitive
32 {
33  public:
34 
35  /**
36  * Returns the strips of this primitive object.
37  * @see StripPrimitive::strips().
38  */
39  VertexIndexGroups strips() const override;
40 
41  protected:
42 
43  /**
44  * Creates a new GLESceneGraph stripped primitive object.
45  */
47 
48  /**
49  * Destructs a GLESceneGraph stripped primitive object.
50  */
51  ~GLESStripPrimitive() override;
52 };
53 
54 }
55 
56 }
57 
58 }
59 
60 #endif // META_OCEAN_RENDERING_GLES_STRIP_PRIMITIVE_H
This class implements the base class for all GLESceneGraph primitive objects.
Definition: GLESPrimitive.h:32
This class is the base class for all GLESceneGraph stripped primitives.
Definition: GLESStripPrimitive.h:32
~GLESStripPrimitive() override
Destructs a GLESceneGraph stripped primitive object.
VertexIndexGroups strips() const override
Returns the strips of this primitive object.
GLESStripPrimitive()
Creates a new GLESceneGraph stripped primitive object.
This class is the base class for all primitive with strip organization.
Definition: StripPrimitive.h:35
std::vector< VertexIndices > VertexIndexGroups
Definition of a vector holding vertex indices.
Definition: rendering/Rendering.h:125
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15