Home | Namespaces | Hierarchy | Alphabetical List | Class list | Files | Namespace Members | Class members | File members |
#include <BlendMode.h>
Public Member Functions | |
bool | operator!= (const LayerBlendMode &rhs) const |
bool | operator== (const LayerBlendMode &rhs) const |
Manual blending factor. | |
Public Attributes | |
f32 | alphaArg1 |
Manual color for manual source2. | |
f32 | alphaArg2 |
Manual alpha value for manual source1. | |
LayerBlendType | blendType |
Color | colorArg1 |
The second source of color/alpha. | |
Color | colorArg2 |
Manual color for manual source1. | |
f32 | factor |
Manual alpha value for manual source2. | |
LayerBlendOperation | operation |
The type of blending (color or alpha). | |
LayerBlendSource | source1 |
The operation to be applied. | |
LayerBlendSource | source2 |
The first source of color/alpha. |
Class which manages blending of both color and alpha components.
This class is a utility class used by TextureUnit to wrap up the details of a blending operation. This blending operation could be used for blending color or alpha in a texture layer. It's worth noting that these operations are for blending between texture layers and not between rendered objects and the existing scene. If you wish to make an object blend with others in the scene, e.g. to make transparent objects etc, use the Material::setSceneBlending method.
bool render::LayerBlendMode::operator!= | ( | const LayerBlendMode & | rhs | ) | const |
bool render::LayerBlendMode::operator== | ( | const LayerBlendMode & | rhs | ) | const |
Manual color for manual source2.
Referenced by operator==(), render::TextureUnit::setAlphaOperation(), and render::TextureUnit::TextureUnit().
Manual alpha value for manual source1.
Referenced by operator==(), render::TextureUnit::setAlphaOperation(), and render::TextureUnit::TextureUnit().
Referenced by operator==(), and render::TextureUnit::TextureUnit().
The second source of color/alpha.
Referenced by operator==(), render::TextureUnit::setColorOperation(), and render::TextureUnit::TextureUnit().
Manual color for manual source1.
Referenced by operator==(), render::TextureUnit::setColorOperation(), and render::TextureUnit::TextureUnit().
Manual alpha value for manual source2.
Referenced by operator==(), render::TextureUnit::setAlphaOperation(), render::TextureUnit::setColorOperation(), and render::TextureUnit::TextureUnit().
The type of blending (color or alpha).
Referenced by operator==(), render::TextureUnit::setAlphaOperation(), render::TextureUnit::setColorOperation(), and render::TextureUnit::TextureUnit().
The operation to be applied.
Referenced by operator==(), render::TextureUnit::setAlphaOperation(), render::TextureUnit::setColorOperation(), and render::TextureUnit::TextureUnit().
The first source of color/alpha.
Referenced by operator==(), render::TextureUnit::setAlphaOperation(), render::TextureUnit::setColorOperation(), and render::TextureUnit::TextureUnit().
The KG Game Engine
Documentation © 2006-2011 by Kat'Oun. Generated on Sat Jul 2 2011 00:50:08 by
Doxygen
(1.7.4)
|