glBlendFuncGLenum
glBlendFunc is a function in OpenGL that sets the factors used in blending. Blending is the process of combining the incoming fragment's color with the color already in the frame buffer. This function takes two arguments, sfactor and dfactor, which are enumerant values specifying how the source color and destination color, respectively, are scaled.
The source factor determines how the color of the incoming fragment is multiplied. For example, GL_ONE multiplies
The destination factor determines how the color already present in the frame buffer is multiplied. GL_ONE_MINUS_SRC_ALPHA
Commonly used enumerant values for sfactor and dfactor include GL_ZERO, GL_ONE, GL_SRC_COLOR, GL_ONE_MINUS_SRC_COLOR, GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA, GL_DST_COLOR,