Blend Function used for textures. More...
#include <ccTypes.h>
Public Attributes | |
GLenum | src |
source blend function More... | |
GLenum | dst |
destination blend function More... | |
Static Public Attributes | |
static const BlendFunc | DISABLE |
Blending disabled. Uses {GL_ONE, GL_ZERO}. More... | |
static const BlendFunc | ALPHA_PREMULTIPLIED |
Blending enabled for textures with Alpha premultiplied. Uses {GL_ONE, GL_ONE_MINUS_SRC_ALPHA}. More... | |
static const BlendFunc | ALPHA_NON_PREMULTIPLIED |
Blending enabled for textures with Alpha NON premultiplied. Uses {GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA}. More... | |
static const BlendFunc | ADDITIVE |
Enables Additive blending. Uses {GL_SRC_ALPHA, GL_ONE}. More... | |
Blend Function used for textures.
|
static |
Enables Additive blending. Uses {GL_SRC_ALPHA, GL_ONE}.
|
static |
Blending enabled for textures with Alpha NON premultiplied. Uses {GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA}.
|
static |
Blending enabled for textures with Alpha premultiplied. Uses {GL_ONE, GL_ONE_MINUS_SRC_ALPHA}.
|
static |
Blending disabled. Uses {GL_ONE, GL_ZERO}.
GLenum dst |
destination blend function
GLenum src |
source blend function