![]() |
Om
1.0.0
A universal framework for multimedia simulation
|
A class that specifies an operation performed between the source and destination colors when blending. More...
#include <omGraphicsBlendFunction.h>
Public Types | |
| enum | Enum { UNDEFINED = 0, ADD = 1, SUBTRACT = 2, REVERSE_SUBTRACT = 3, MIN = 4, MAX = 5 } |
| An enum type which represents the type of blend function. More... | |
Public Member Functions | |
| BlendFunction () | |
| Create a new default blend function with the UNDEFINED enum value. More... | |
| BlendFunction (Enum newFunction) | |
| Create a new blend function with the specified blend function enum value. More... | |
| operator Enum () const | |
| Convert this blend function type to an enum value. More... | |
| String | toString () const |
| Return a string representation of the blend function. More... | |
| operator String () const | |
| Convert this blend function into a string representation. More... | |
A class that specifies an operation performed between the source and destination colors when blending.
This operation is performed on a per-component basis and the result of the function is the final color for the framebuffer for a given fragment.
An enum type which represents the type of blend function.
|
inline |
Create a new default blend function with the UNDEFINED enum value.
|
inline |
Create a new blend function with the specified blend function enum value.
|
inline |
Convert this blend function type to an enum value.
| String om::graphics::base::BlendFunction::toString | ( | ) | const |
Return a string representation of the blend function.
|
inline |
Convert this blend function into a string representation.
1.8.11