Ocean
GIStripPrimitive.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_STRIP_PRIMITIVE_H
9 #define META_OCEAN_RENDERING_GI_STRIP_PRIMITIVE_H
10 
13 
15 
16 namespace Ocean
17 {
18 
19 namespace Rendering
20 {
21 
22 namespace GlobalIllumination
23 {
24 
25 /**
26  * This class is the base class for all stripped primitives.
27  * @ingroup renderinggi
28  */
29 class OCEAN_RENDERING_GI_EXPORT GIStripPrimitive :
30  virtual public GIPrimitive,
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 ptrimitive object.
50  */
51  ~GIStripPrimitive() override;
52 
53  protected:
54 
55  /// Primitive strips.
57 };
58 
59 }
60 
61 }
62 
63 }
64 
65 #endif // META_OCEAN_RENDERING_GI_STRIP_PRIMITIVE_H
This class implements the base class for all primitive objects.
Definition: GIPrimitive.h:32
This class is the base class for all stripped primitives.
Definition: GIStripPrimitive.h:32
VertexIndexGroups strips() const override
Returns the strips of this primitive object.
VertexIndexGroups primitiveStrips
Primitive strips.
Definition: GIStripPrimitive.h:56
~GIStripPrimitive() override
Destructs a GLESceneGraph stripped ptrimitive object.
GIStripPrimitive()
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