![]() |
OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
Texturing sub render state implementation of layered blending. More...
#include <OgreShaderExLayeredBlending.h>
Classes | |
struct | TextureBlend |
Static Public Attributes | |
static String | Type |
Texturing sub render state implementation of layered blending.
Derives from FFPTexturing class which derives from SubRenderState class.
Ogre::RTShader::LayeredBlending::LayeredBlending | ( | ) |
Class default constructor.
|
staticinherited |
|
virtual |
Reimplemented from Ogre::RTShader::FFPTexturing.
|
virtualinherited |
Create sub programs that represents this sub render state as part of a program set.
The given program set contains CPU programs that represents a vertex shader and pixel shader. One should use these program class API to create a representation of the sub state he wished to implement.
programSet | container class of CPU and GPU programs that this sub state will affect on. |
Reimplemented in Ogre::RTShader::FFPTransform.
|
inherited |
Return the accessor object to this sub render state.
|
inherited |
Return the accessor object to this sub render state.
Return the blend mode of the given texture unit index.
Implements Ogre::RTShader::SubRenderState.
|
staticinherited |
bool Ogre::RTShader::LayeredBlending::getSourceModifier | ( | unsigned short | index, |
SourceModifier & | modType, | ||
int & | customNum | ||
) | const |
Returns the source modifier parameters for a given texture unit.
index | Texture blend index |
modType | The source modification type to use |
customNum | The custom parameter number used to control the modification |
|
virtual |
Reimplemented from Ogre::RTShader::FFPTexturing.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
virtualinherited |
Reimplemented from Ogre::RTShader::SubRenderState.
Set the blend mode of the given texture unit layer with the previous layer.
index | The texture unit texture. Textures units (index-1) and (index) will be blended. |
mode | The blend mode to apply. |
void Ogre::RTShader::LayeredBlending::setSourceModifier | ( | unsigned short | index, |
SourceModifier | modType, | ||
int | customNum | ||
) |
Set the source modifier parameters for a given texture unit.
modType | The source modification type to use |
customNum | The custom parameter number used to control the modification |
|
virtualinherited |
Reimplemented from Ogre::RTShader::SubRenderState.
|
static |