|
Public Types |
| enum | BlendFuncMode {
DST_ALPHA = GL_DST_ALPHA,
DST_COLOR = GL_DST_COLOR,
ONE = GL_ONE,
ONE_MINUS_DST_ALPHA = GL_ONE_MINUS_DST_ALPHA,
ONE_MINUS_DST_COLOR = GL_ONE_MINUS_DST_COLOR,
ONE_MINUS_SRC_ALPHA = GL_ONE_MINUS_SRC_ALPHA,
ONE_MINUS_SRC_COLOR = GL_ONE_MINUS_SRC_COLOR,
SRC_ALPHA = GL_SRC_ALPHA,
SRC_ALPHA_SATURATE = GL_SRC_ALPHA_SATURATE,
SRC_COLOR = GL_SRC_COLOR,
CONSTANT_COLOR = GL_CONSTANT_COLOR,
ONE_MINUS_CONSTANT_COLOR = GL_ONE_MINUS_CONSTANT_COLOR,
CONSTANT_ALPHA = GL_CONSTANT_ALPHA,
ONE_MINUS_CONSTANT_ALPHA = GL_ONE_MINUS_CONSTANT_ALPHA,
ZERO = GL_ZERO
} |
Public Member Functions |
| | BlendFunc () |
| | BlendFunc (GLenum source, GLenum destination) |
| | BlendFunc (GLenum source, GLenum destination, GLenum source_alpha, GLenum destination_alpha) |
| | BlendFunc (const BlendFunc &trans, const CopyOp ©op=CopyOp::SHALLOW_COPY) |
| | META_StateAttribute (osg, BlendFunc, BLENDFUNC) |
| virtual int | compare (const StateAttribute &sa) const |
| virtual bool | getModeUsage (ModeUsage &usage) const |
| void | setFunction (GLenum source, GLenum destination) |
| void | setFunction (GLenum source_rgb, GLenum destination_rgb, GLenum source_alpha, GLenum destination_alpha) |
| void | setSource (GLenum source) |
| GLenum | getSource () const |
| void | setSourceRGB (GLenum source) |
| GLenum | getSourceRGB () const |
| void | setSourceAlpha (GLenum source) |
| GLenum | getSourceAlpha () const |
| void | setDestination (GLenum destination) |
| GLenum | getDestination () const |
| void | setDestinationRGB (GLenum destination) |
| GLenum | getDestinationRGB () const |
| void | setDestinationAlpha (GLenum destination) |
| GLenum | getDestinationAlpha () const |
| virtual void | apply (State &state) const |
Static Public Member Functions |
| static Extensions * | getExtensions (unsigned int contextID, bool createIfNotInitalized) |
| static void | setExtensions (unsigned int contextID, Extensions *extensions) |
Protected Member Functions |
| virtual | ~BlendFunc () |
Protected Attributes |
| GLenum | _source_factor |
| GLenum | _destination_factor |
| GLenum | _source_factor_alpha |
| GLenum | _destination_factor_alpha |
Classes |
| class | Extensions |