8 #ifndef META_OCEAN_RENDERING_GLES_PRIMITIVE_ATTRIBUTE_H
9 #define META_OCEAN_RENDERING_GLES_PRIMITIVE_ATTRIBUTE_H
22 namespace GLESceneGraph
This class wraps a GLESceneGraph attribute object.
Definition: GLESAttribute.h:36
This class implements a class factory for all GLESceneGraph objects.
Definition: GLESFactory.h:30
This class implements a base for all GLESceneGraph framebuffers.
Definition: rendering/glescenegraph/GLESFramebuffer.h:34
This class implements a GLESceneGraph primitive attribute object.
Definition: GLESPrimitiveAttribute.h:32
void setCullingMode(const CullingMode culling) override
Sets the culling mode for this attribute.
GLESPrimitiveAttribute()
Creates a new GLESceneGraph primitive attribute.
CullingMode cullingMode_
Culling mode of this attribute.
Definition: GLESPrimitiveAttribute.h:103
void unbindAttribute() override
Unbindes this attribute.
LightingMode lightingMode_
Two sided lighting state.
Definition: GLESPrimitiveAttribute.h:109
~GLESPrimitiveAttribute() override
Destructs a GLESceneGraph primitive attribute.
LightingMode lightingMode() const override
Returns the lighting mode of this attribute.
void setFaceMode(const FaceMode mode) override
Sets the face mode for this attribute.
void bindAttribute(const GLESFramebuffer &framebuffer, GLESShaderProgram &shaderProgram) override
Binds this attribute.
void setLightingMode(const LightingMode lighting) override
Sets the lighting mode for this attribute.
bool unbindNecessary_
True, if a parameter unbind is necessary.
Definition: GLESPrimitiveAttribute.h:112
GLenum glesCullingMode_
OpenGL ES culling mode.
Definition: GLESPrimitiveAttribute.h:106
CullingMode cullingMode() const override
Returns the culling mode of this attribute.
FaceMode faceMode_
The face mode of this attribute.
Definition: GLESPrimitiveAttribute.h:100
FaceMode faceMode() const override
Returns the face mode of this attribute.
This class implements a container for an OpenGL ES shader program.
Definition: GLESShaderProgram.h:53
This class implements an attribute specifying face and culling properties of primitives.
Definition: PrimitiveAttribute.h:35
FaceMode
Defines different face rendering modes.
Definition: PrimitiveAttribute.h:42
CullingMode
Defines different face culling modes.
Definition: PrimitiveAttribute.h:57
LightingMode
Definition of different lighting modes.
Definition: PrimitiveAttribute.h:74
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15