![]() |
OGRE
1.11.2
Object-Oriented Graphics Rendering Engine
|
Fixed Function Pipeline render state builder. More...
#include <OgreShaderFFPRenderStateBuilder.h>
Public Member Functions | |
FFPRenderStateBuilder () | |
~FFPRenderStateBuilder () | |
void | buildRenderState (ShaderGenerator::SGPass *sgPass, TargetRenderState *renderState) |
Build render state from the given pass that emulates the fixed function pipeline behaviour. More... | |
void | destroy () |
Destroy the FFP builder instance. More... | |
bool | initialize () |
Initialize the FFP builder instance. More... | |
Static Public Member Functions | |
static FFPRenderStateBuilder & | getSingleton () |
Override standard Singleton retrieval. More... | |
static FFPRenderStateBuilder * | getSingletonPtr () |
Get the singleton instance. More... | |
Fixed Function Pipeline render state builder.
This class builds RenderState from a given pass that represents the fixed function pipeline that the source pass describes.
Ogre::RTShader::FFPRenderStateBuilder::FFPRenderStateBuilder | ( | ) |
Ogre::RTShader::FFPRenderStateBuilder::~FFPRenderStateBuilder | ( | ) |
|
static |
Override standard Singleton retrieval.
|
static |
Get the singleton instance.
bool Ogre::RTShader::FFPRenderStateBuilder::initialize | ( | ) |
Initialize the FFP builder instance.
Return true upon success.
void Ogre::RTShader::FFPRenderStateBuilder::destroy | ( | ) |
Destroy the FFP builder instance.
void Ogre::RTShader::FFPRenderStateBuilder::buildRenderState | ( | ShaderGenerator::SGPass * | sgPass, |
TargetRenderState * | renderState | ||
) |
Build render state from the given pass that emulates the fixed function pipeline behaviour.
sgPass | The shader generator pass representation. Contains both source and destination pass. |
renderState | The target render state that will hold the given pass FFP representation. |