![]() |
Carna Version 3.3.3
|
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. | |
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.
Creates blend function with sourceFactor and destinationFactor.
GL_ONE
and GL_SRC_ALPHA
. int Carna::base::BlendFunction::destinationFactor |
Holds the destination factor.
Definition at line 61 of file BlendFunction.h.
int Carna::base::BlendFunction::sourceFactor |
Holds the source factor.
Definition at line 56 of file BlendFunction.h.
Documentation generated by Doxygen