Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies the scale factor applied to a source or destination color when blending. More...
#include <omGraphicsBlendFactor.h>
Public Types | |
enum | Enum { UNDEFINED = 0, ZERO, ONE, SOURCE_ALPHA, INVERSE_SOURCE_ALPHA, SOURCE_COLOR, INVERSE_SOURCE_COLOR, DESTINATION_ALPHA, INVERSE_DESTINATION_ALPHA, DESTINATION_COLOR, INVERSE_DESTINATION_COLOR, CONSTANT_ALPHA, INVERSE_CONSTANT_ALPHA, CONSTANT_COLOR, INVERSE_CONSTANT_COLOR } |
An enum type which represents the type of blend factor. More... | |
Public Member Functions | |
BlendFactor (Enum newFactor) | |
Create a new blend factor with the specified blend factor enum value. More... | |
operator Enum () const | |
Convert this blend factor type to an enum value. More... | |
String | toString () const |
Return a string representation of the blend factor. More... | |
operator String () const | |
Convert this blend factor into a string representation. More... | |
A class that specifies the scale factor applied to a source or destination color when blending.
A blend factor determines the value of a source or destination operand for any given BlendFunction. The factor is component-wise multiplied with the color of a given source or destination fragment and used as an operand for the blend function.
An enum type which represents the type of blend factor.
|
inline |
Create a new blend factor with the specified blend factor enum value.
|
inline |
Convert this blend factor type to an enum value.
String om::graphics::base::BlendFactor::toString | ( | ) | const |
Return a string representation of the blend factor.
|
inline |
Convert this blend factor into a string representation.