|
Carna
Version 3.0.1
|
Defines how alpha blending is to be performed. More...
#include <BlendFunction.h>
Public Member Functions | |
| BlendFunction (int sourceFactor, int destinationFactor) | |
| Creates blend function with sourceFactor and destinationFactor. More... | |
| bool | operator== (const BlendFunction &other) const |
| Tells whether this function equals other. | |
Public Attributes | |
| int | sourceFactor |
| Holds the source factor. | |
| int | destinationFactor |
| Holds the destination factor. | |
Defines how alpha blending is to be performed.
Definition at line 39 of file BlendFunction.h.
| Carna::base::BlendFunction::BlendFunction | ( | int | sourceFactor, |
| int | destinationFactor | ||
| ) |
Creates blend function with sourceFactor and destinationFactor.
GL_ONE and GL_SRC_ALPHA. Documentation generated by Doxygen