8#ifndef META_OCEAN_RENDERING_BLEND_ATTRIBUTE_H
9#define META_OCEAN_RENDERING_BLEND_ATTRIBUTE_H
Attribute()
Creates a new attribute object.
This class is the base class for all blend attributes.
Definition BlendAttribute.h:38
virtual void setSourceFunction(const BlendingFunction function)
Sets the blending function for the source object.
virtual BlendingFunction destinationFunction() const
Returns the blending function for the destination object.
ObjectType type() const override
Returns the type of this object.
virtual void setDestinationFunction(const BlendingFunction function)
Sets the blending function for the destination object.
virtual BlendingFunction sourceFunction() const
Returns the blending function for the source object.
BlendAttribute()
Creates a new blend attribute.
BlendingFunction
Defines several blending functions.
Definition BlendAttribute.h:45
@ FUNCTION_SOURCE_ALPHA_SATURATE
Definition BlendAttribute.h:57
@ FUNCTION_ONE_MINUS_DESTINATION_COLOR
Definition BlendAttribute.h:51
@ FUNCTION_DESTINATION_COLOR
Definition BlendAttribute.h:49
@ FUNCTION_ONE_MINUS_SOURCE_COLOR
Definition BlendAttribute.h:52
@ FUNCTION_ONE_MINUS_DESTINATION_ALPHA
Definition BlendAttribute.h:56
@ FUNCTION_DESTINATION_ALPHA
Definition BlendAttribute.h:55
@ FUNCTION_ZERO
Definition BlendAttribute.h:47
@ FUNCTION_ONE_MINUS_SOURCE_ALPHA
Definition BlendAttribute.h:54
@ FUNCTION_SOURCE_ALPHA
Definition BlendAttribute.h:53
@ FUNCTION_INVALID
Definition BlendAttribute.h:46
@ FUNCTION_SOURCE_COLOR
Definition BlendAttribute.h:50
@ FUNCTION_ONE
Definition BlendAttribute.h:48
ObjectType
Definition of different object type.
Definition Object.h:62
This class implements a smart rendering object reference.
Definition rendering/ObjectRef.h:34
SmartObjectRef< BlendAttribute > BlendAttributeRef
Definition of a smart object reference holding a blend attribute.
Definition BlendAttribute.h:28
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15