8 #ifndef META_OCEAN_RENDERING_GLES_BLEND_ATTRIBUTE_H
9 #define META_OCEAN_RENDERING_GLES_BLEND_ATTRIBUTE_H
22 namespace GLESceneGraph
This class is the base class for all blend attributes.
Definition: BlendAttribute.h:38
BlendingFunction
Defines several blending functions.
Definition: BlendAttribute.h:45
This class wraps a GLESceneGraph attribute object.
Definition: GLESAttribute.h:36
This class implements a GLESceneGraph blend attribute.
Definition: GLESBlendAttribute.h:32
static GLenum translateDestinationBlendingFunction(const BlendingFunction function)
Translates a destination blending function to the corresponding OpenGL ES enum value.
BlendingFunction destinationFunction() const override
Returns the blending function for the destination object.
GLenum attributeGLESDestinationBlendingFunction
OpenGL ES destination blending value.
Definition: GLESBlendAttribute.h:109
void bindAttribute(const GLESFramebuffer &framebuffer, GLESShaderProgram &shaderProgram) override
Binds this attribute.
BlendingFunction sourceFunction() const override
Returns the blending function for the source object.
GLenum attributeGLESSourceBlendingFunction
OpenGL ES source blending value.
Definition: GLESBlendAttribute.h:106
static GLenum translateSourceBlendingFunction(const BlendingFunction function)
Translates a source blending function to the corresponding OpenGL ES enum value.
BlendingFunction attributeDestinationBlendingFunction
Selected destination blending function of this blend attribute.
Definition: GLESBlendAttribute.h:103
void setDestinationFunction(const BlendingFunction function) override
Sets the blending function for the destination object.
GLESBlendAttribute()
Creates a new GLESceneGraph blend attribute.
void unbindAttribute() override
Unbindes this attribute.
BlendingFunction attributeSourceBlendingFunction
Selected source blending function of this blend attribute.
Definition: GLESBlendAttribute.h:100
~GLESBlendAttribute() override
Destructs a GLESceneGraph blend attribute.
void setSourceFunction(const BlendingFunction function) override
Sets the blending function for the source object.
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 container for an OpenGL ES shader program.
Definition: GLESShaderProgram.h:53
The namespace covering the entire Ocean framework.
Definition: Accessor.h:15