![]() |
LibCarna Version 3.4.0
|
Defines how alpha blending is to be performed. More...
#include <BlendFunction.hpp>
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 42 of file BlendFunction.hpp.
Creates blend function with sourceFactor and destinationFactor.
GL_ONE
and GL_SRC_ALPHA
. int LibCarna::base::BlendFunction::destinationFactor |
Holds the destination factor.
Definition at line 64 of file BlendFunction.hpp.
int LibCarna::base::BlendFunction::sourceFactor |
Holds the source factor.
Definition at line 59 of file BlendFunction.hpp.
Written by Leonid Kostrykin © 2021–2025. Based on Carna (© 2010-2016).
Documentation generated by Doxygen