8 #ifndef META_OCEAN_RENDERING_GI_VERTEX_SET_H
9 #define META_OCEAN_RENDERING_GI_VERTEX_SET_H
22 namespace GlobalIllumination
25 #define maximalTextureLayers 8
This class implements a class factory for all Global Illumination objects.
Definition: GIFactory.h:30
This class is the base class for all Global Illumination objects.
Definition: GIObject.h:29
This class implements a vertex set.
Definition: GIVertexSet.h:34
unsigned int numberNormals() const override
Returns the number of normals of this set.
void setTextureCoordinates(const TextureCoordinates &textureCoordinates, const unsigned int layerIndex) override
Sets the texels for this set.
TextureCoordinates textureCoordinates(const unsigned int layerIndex) const override
Returns the texture coordinates of this set.
Vertices vertices() const override
Returns the vertices of this set.
void setNormals(const Normals &normals) override
Sets the normals for this set.
Normals normals() const override
Returns the normals of this set.
unsigned int numberVertices() const override
Returns the number of vertices of this set.
Normals vertexSetNormals
Vertex set normals.
Definition: GIVertexSet.h:132
~GIVertexSet() override
Destructs a vertex set object.
GIVertexSet()
Creates a new vertex set object.
void set(const Vertices &vertices, const Normals &normals, const TextureCoordinates &textureCoordinates, const RGBAColors &colors) override
Sets several attributes concurrently.
RGBAColors colors() const override
Returns the colors of this set.
unsigned int numberTextureCoordinates(const unsigned int layerIndex) const override
Returns the number of texture coordinats of this set.
void setVertices(const Vertices &vertices) override
Sets the vertices for this set.
RGBAColors vertexSetColors
Vertex set colors.
Definition: GIVertexSet.h:141
Vertices vertexSetVertices
Vertex set vertices.
Definition: GIVertexSet.h:138
void setColors(const RGBAColors &colors) override
Sets the colors for this set.
unsigned int numberColors() const override
Returns the number of colors of this set.
This class is the base class for all rendering vertex sets.
Definition: VertexSet.h:47
std::vector< RGBAColor > RGBAColors
Definition of a vector holding rgba color objects.
Definition: RGBAColor.h:21
std::vector< Vertex > Vertices
Definition of a vector holding vertices.
Definition: rendering/Rendering.h:119
std::vector< TextureCoordinate > TextureCoordinates
Definition of a vector holding texture coordinates.
Definition: rendering/Rendering.h:113
std::vector< Normal > Normals
Definition of a vector holding normals.
Definition: rendering/Rendering.h:107
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15