|  | OGRE 14.3
    Object-Oriented Graphics Rendering Engine | 
Describes the global blending factors for combining subsequent renders with the existing frame contents. More...
#include <OgreBlendMode.h>
| Public Member Functions | |
| ColourBlendState () | |
| bool | blendingEnabled () const | 
| can we simply overwrite the existing pixels or do we have to blend | |
| Public Attributes | |
| Write Mask | |
| Whether writing is enabled for each of the 4 colour channels | |
| bool | writeR: 1 | 
| bool | writeG: 1 | 
| bool | writeB: 1 | 
| bool | writeA: 1 | 
| Blending factors | |
| used to weight the render colour components and the frame colour components | |
| SceneBlendFactor | sourceFactor | 
| SceneBlendFactor | destFactor | 
| SceneBlendFactor | sourceFactorAlpha | 
| SceneBlendFactor | destFactorAlpha | 
| Blending operations | |
| The blend operation mode for combining colour values | |
| SceneBlendOperation | operation | 
| SceneBlendOperation | alphaOperation | 
Describes the global blending factors for combining subsequent renders with the existing frame contents.
By default the operation is Ogre::SBO_ADD, which creates this equation
$$final = (passOutput * sourceFactor) + (frameBuffer * destFactor)$$
Each of the factors is specified as one of Ogre::SceneBlendFactor.
By setting a different Ogre::SceneBlendOperation you can achieve a different effect.
| 
 | inline | 
References alphaOperation, destFactor, destFactorAlpha, operation, Ogre::SBF_ONE, Ogre::SBF_ZERO, Ogre::SBO_ADD, sourceFactor, sourceFactorAlpha, writeA, writeB, writeG, and writeR.
| 
 | inline | 
can we simply overwrite the existing pixels or do we have to blend
References destFactor, destFactorAlpha, Ogre::SBF_ONE, Ogre::SBF_ZERO, sourceFactor, and sourceFactorAlpha.
| bool Ogre::ColourBlendState::writeR | 
Referenced by ColourBlendState().
| bool Ogre::ColourBlendState::writeG | 
Referenced by ColourBlendState().
| bool Ogre::ColourBlendState::writeB | 
Referenced by ColourBlendState().
| bool Ogre::ColourBlendState::writeA | 
Referenced by ColourBlendState().
| SceneBlendFactor Ogre::ColourBlendState::sourceFactor | 
Referenced by ColourBlendState(), and blendingEnabled().
| SceneBlendFactor Ogre::ColourBlendState::destFactor | 
Referenced by ColourBlendState(), and blendingEnabled().
| SceneBlendFactor Ogre::ColourBlendState::sourceFactorAlpha | 
Referenced by ColourBlendState(), and blendingEnabled().
| SceneBlendFactor Ogre::ColourBlendState::destFactorAlpha | 
Referenced by ColourBlendState(), and blendingEnabled().
| SceneBlendOperation Ogre::ColourBlendState::operation | 
Referenced by ColourBlendState().
| SceneBlendOperation Ogre::ColourBlendState::alphaOperation | 
Referenced by ColourBlendState().