Blend Function used for textures. More...
#include <ccTypes.h>
Public Member Functions | |
bool | operator== (const BlendFunc &a) const |
bool | operator< (const BlendFunc &a) const |
var | operator< ( var a) |
local | operator< ( local a) |
Public Attributes | |
GLenum | src |
source blend function More... | |
var | src |
source blend function More... | |
local | src |
source blend function More... | |
GLenum | dst |
destination blend function More... | |
local | dst |
destination blend function More... | |
Static Public Attributes | |
static const BlendFunc | DISABLE |
Blending disabled. Uses {GL_ONE, GL_ZERO}. More... | |
var | DISABLE |
Blending disabled. Uses {GL_ONE, GL_ZERO}. More... | |
local | 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... | |
var | ALPHA_PREMULTIPLIED |
Blending enabled for textures with Alpha premultiplied. Uses {GL_ONE, GL_ONE_MINUS_SRC_ALPHA}. More... | |
local | 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.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
static |
Enables Additive blending. Uses {GL_SRC_ALPHA, GL_ONE}.
|
static |
Enables Additive blending. Uses {GL_SRC_ALPHA, GL_ONE}.
|
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 NON premultiplied. Uses {GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA}.
|
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 enabled for textures with Alpha premultiplied. Uses {GL_ONE, 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}.
|
static |
Blending disabled. Uses {GL_ONE, GL_ZERO}.
|
static |
Blending disabled. Uses {GL_ONE, GL_ZERO}.
GLenum dst |
destination blend function
var dst |
destination blend function
local dst |
destination blend function
GLenum src |
source blend function
var src |
source blend function
local src |
source blend function