Blend Function used for textures. More...
#include <ccTypes.h>
Public Member Functions | |
| bool | operator== (const BlendFunc &a) const |
| var | operator== ( var a) |
| local | operator== ( local a) |
| bool | operator!= (const BlendFunc &a) const |
| var | operator!= ( var a) |
| local | operator!= ( local a) |
| 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... | |
Static Public Attributes | |
| static const BlendFunc | DISABLE |
| Blending disabled. More... | |
| var | DISABLE |
| Blending disabled. More... | |
| local | DISABLE |
| Blending disabled. More... | |
| static const BlendFunc | ALPHA_PREMULTIPLIED |
| Blending enabled for textures with Alpha premultiplied. More... | |
| var | ALPHA_PREMULTIPLIED |
| Blending enabled for textures with Alpha premultiplied. More... | |
| local | ALPHA_PREMULTIPLIED |
| Blending enabled for textures with Alpha premultiplied. More... | |
| static const BlendFunc | ALPHA_NON_PREMULTIPLIED |
| Blending enabled for textures with Alpha NON premultiplied. More... | |
| var | ALPHA_NON_PREMULTIPLIED |
| Blending enabled for textures with Alpha NON premultiplied. More... | |
| local | ALPHA_NON_PREMULTIPLIED |
| Blending enabled for textures with Alpha NON premultiplied. More... | |
| static const BlendFunc | ADDITIVE |
| Enables Additive blending. More... | |
| var | ADDITIVE |
| Enables Additive blending. More... | |
| local | ADDITIVE |
| Enables Additive blending. More... | |
Blend Function used for textures.
|
inline |
|
inline |
|
inline |
|
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