OGRE  1.12.4
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::FFPTexturing Class Reference

Texturing sub render state implementation of the Fixed Function Pipeline. More...

#include <OgreShaderFFPTexturing.h>

+ Inheritance diagram for Ogre::RTShader::FFPTexturing:

Public Member Functions

 FFPTexturing ()
 Class default constructor. More...
 
virtual void copyFrom (const SubRenderState &rhs)
 
virtual bool createCpuSubPrograms (ProgramSet *programSet)
 Create sub programs that represents this sub render state as part of a program set. More...
 
SubRenderStateAccessorPtr getAccessor ()
 Return the accessor object to this sub render state. More...
 
SubRenderStateAccessorPtr getAccessor () const
 Return the accessor object to this sub render state. More...
 
virtual int getExecutionOrder () const
 
virtual const StringgetType () const
 
virtual bool preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass)
 
virtual void updateGpuProgramsParams (Renderable *rend, const Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
 Update GPU programs parameters before a rendering operation occurs. More...
 

Static Public Attributes

static String Type
 

Detailed Description

Texturing sub render state implementation of the Fixed Function Pipeline.

Implements texture coordinate processing:

See also
http://msdn.microsoft.com/en-us/library/bb206247.aspx Implements texture blending operation:
http://msdn.microsoft.com/en-us/library/bb206241.aspx Derives from SubRenderState class.

Constructor & Destructor Documentation

◆ FFPTexturing()

Ogre::RTShader::FFPTexturing::FFPTexturing ( )

Class default constructor.

Member Function Documentation

◆ getType()

virtual const String& Ogre::RTShader::FFPTexturing::getType ( ) const
virtual

◆ getExecutionOrder()

virtual int Ogre::RTShader::FFPTexturing::getExecutionOrder ( ) const
virtual

◆ copyFrom()

virtual void Ogre::RTShader::FFPTexturing::copyFrom ( const SubRenderState rhs)
virtual

◆ preAddToRenderState()

virtual bool Ogre::RTShader::FFPTexturing::preAddToRenderState ( const RenderState renderState,
Pass srcPass,
Pass dstPass 
)
virtual

◆ createCpuSubPrograms()

virtual bool Ogre::RTShader::SubRenderState::createCpuSubPrograms ( ProgramSet programSet)
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.

Parameters
programSetcontainer class of CPU and GPU programs that this sub state will affect on.

Reimplemented in Ogre::RTShader::FFPTransform.

◆ updateGpuProgramsParams()

virtual void Ogre::RTShader::SubRenderState::updateGpuProgramsParams ( Renderable rend,
const Pass pass,
const AutoParamDataSource source,
const LightList pLightList 
)
inlinevirtualinherited

Update GPU programs parameters before a rendering operation occurs.

This method is called in the context of SceneManager::renderSingle object via the RenderObjectListener interface and lets this sub render state instance opportunity to update custom GPU program parameters before the rendering action occurs.

See also
RenderObjectListener::notifyRenderSingleObject.
Parameters
rendThe renderable that is about to be rendered.
passThe pass that used for this rendering.
sourceThe auto parameter source.
pLightListThe light list used in the current rendering context.

Reimplemented in Ogre::RTShader::TriplanarTexturing, Ogre::RTShader::TextureAtlasSampler, Ogre::RTShader::FFPAlphaTest, Ogre::RTShader::FFPFog, Ogre::RTShader::IntegratedPSSM3, Ogre::RTShader::FFPLighting, and Ogre::RTShader::NormalMapLighting.

◆ getAccessor() [1/2]

SubRenderStateAccessorPtr Ogre::RTShader::SubRenderState::getAccessor ( )
inherited

Return the accessor object to this sub render state.

See also
SubRenderStateAccessor.

◆ getAccessor() [2/2]

SubRenderStateAccessorPtr Ogre::RTShader::SubRenderState::getAccessor ( ) const
inherited

Return the accessor object to this sub render state.

See also
SubRenderStateAccessor.

Member Data Documentation

◆ Type

String Ogre::RTShader::FFPTexturing::Type
static

The documentation for this class was generated from the following file: