OGRE 14.3
Object-Oriented Graphics Rendering Engine
|
Class which manages blending of both colour and alpha components. More...
#include <OgreBlendMode.h>
Public Member Functions | |
bool | operator!= (const LayerBlendModeEx &rhs) const |
bool | operator== (const LayerBlendModeEx &rhs) const |
Public Attributes | |
Real | alphaArg1 |
Manual alpha value for manual source1. | |
Real | alphaArg2 |
Manual alpha value for manual source2. | |
LayerBlendType | blendType |
The type of blending (colour or alpha) | |
ColourValue | colourArg1 |
Manual colour value for manual source1. | |
ColourValue | colourArg2 |
Manual colour value for manual source2. | |
Real | factor |
Manual blending factor. | |
LayerBlendOperationEx | operation |
The operation to be applied. | |
LayerBlendSource | source1 |
The first source of colour/alpha. | |
LayerBlendSource | source2 |
The second source of colour/alpha. | |
Class which manages blending of both colour and alpha components.
This class is a utility class used by both TextureUnitState and RenderSystem to wrap up the details of a blending operation. This blending operation could be used for blending colour or alpha in a texture layer. This class is really only for use by OGRE, since apps can deal with blending modes through the TextureUnitState class methods setColourOperation and setAlphaOperation.
|
inline |
References Ogre::LBT_COLOUR.
|
inline |
LayerBlendType Ogre::LayerBlendModeEx::blendType |
The type of blending (colour or alpha)
LayerBlendOperationEx Ogre::LayerBlendModeEx::operation |
The operation to be applied.
LayerBlendSource Ogre::LayerBlendModeEx::source1 |
The first source of colour/alpha.
LayerBlendSource Ogre::LayerBlendModeEx::source2 |
The second source of colour/alpha.
ColourValue Ogre::LayerBlendModeEx::colourArg1 |
Manual colour value for manual source1.
ColourValue Ogre::LayerBlendModeEx::colourArg2 |
Manual colour value for manual source2.
Real Ogre::LayerBlendModeEx::alphaArg1 |
Manual alpha value for manual source1.
Real Ogre::LayerBlendModeEx::alphaArg2 |
Manual alpha value for manual source2.
Real Ogre::LayerBlendModeEx::factor |
Manual blending factor.