8#ifndef META_OCEAN_RENDERING_GLES_TRIANGLE_STRIPS_H
9#define META_OCEAN_RENDERING_GLES_TRIANGLE_STRIPS_H
This class implements a GLESceneGraph attribute set object.
Definition GLESAttributeSet.h:40
This class implements a base for all GLESceneGraph framebuffers.
Definition rendering/glescenegraph/GLESFramebuffer.h:34
This class implements a container for an OpenGL ES shader program.
Definition GLESShaderProgram.h:53
GLESStripPrimitive()
Creates a new GLESceneGraph stripped primitive object.
friend class GLESFactory
Definition GLESTriangleStrips.h:33
void release()
Releases the internal vertex buffer object containing the triangle strips indices.
~GLESTriangleStrips() override
Destructs a GLESceneGraph triangle strips object.
void updateBoundingBox() override
Updates the bounding box of this primitive.
GLuint vboIndices_
Vertex buffer object for triangle indices.
Definition GLESTriangleStrips.h:93
VertexIndexGroups strips() const override
Returns the strips of this primitive object.
void render(const GLESFramebuffer &framebuffer, const SquareMatrix4 &projectionMatrix, const HomogenousMatrix4 &camera_T_object, const HomogenousMatrix4 &camera_T_world, const SquareMatrix3 &normalMatrix, GLESAttributeSet &attributeSet, const Lights &lights) override
Renders the triangles defined by the associated vertex set and the defined triangle faces.
unsigned int numberStrips() const override
Returns the number of triangle strips defined in this primitive.
unsigned int numberIndices_
Number of indices for all strips.
Definition GLESTriangleStrips.h:96
GLESTriangleStrips()
Creates a new GLESceneGraph triangle strips object.
VertexIndexGroups strips_
The triangle strips.
Definition GLESTriangleStrips.h:99
void setStrips(const VertexIndexGroups &strips) override
Sets the strips of this primitive object.
void render(const SquareMatrix4 &projectionMatrix, const HomogenousMatrix4 &camera_T_object, const HomogenousMatrix4 &camera_T_world, const SquareMatrix3 &normalMatrix, GLESShaderProgram &shaderProgram) override
Renders the triangles defined by the associated vertex set and the defined triangle faces.
TriangleStrips()
Creates a new triangle strips object.
HomogenousMatrixT4< Scalar > HomogenousMatrix4
Definition of the HomogenousMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION flag eit...
Definition HomogenousMatrix4.h:44
SquareMatrixT3< Scalar > SquareMatrix3
Definition of the SquareMatrix3 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix3.h:43
SquareMatrixT4< Scalar > SquareMatrix4
Definition of the SquareMatrix4 object, depending on the OCEAN_MATH_USE_SINGLE_PRECISION either with ...
Definition SquareMatrix4.h:39
std::vector< VertexIndices > VertexIndexGroups
Definition of a vector holding vertex indices.
Definition rendering/Rendering.h:125
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