OGRE  1.10.12
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, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
 

Static Public Member Functions

static void AddTextureSampleWrapperInvocation (UniformParameterPtr textureSampler, UniformParameterPtr textureSamplerState, GpuConstantType samplerType, Function *function, int groupOrder)
 Wraps a sampler with a SamplerData[x]D struct defined in FFPLib_Texturing.hlsl. More...
 
static ParameterPtr GetSamplerWrapperParam (UniformParameterPtr sampler, Function *function)
 Get a sampler wrapper type according to the sampler type. 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

◆ updateGpuProgramsParams()

virtual void Ogre::RTShader::FFPTexturing::updateGpuProgramsParams ( Renderable rend,
Pass pass,
const AutoParamDataSource source,
const LightList pLightList 
)
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

◆ AddTextureSampleWrapperInvocation()

static void Ogre::RTShader::FFPTexturing::AddTextureSampleWrapperInvocation ( UniformParameterPtr  textureSampler,
UniformParameterPtr  textureSamplerState,
GpuConstantType  samplerType,
Function function,
int  groupOrder 
)
static

Wraps a sampler with a SamplerData[x]D struct defined in FFPLib_Texturing.hlsl.

◆ GetSamplerWrapperParam()

static ParameterPtr Ogre::RTShader::FFPTexturing::GetSamplerWrapperParam ( UniformParameterPtr  sampler,
Function function 
)
static

Get a sampler wrapper type according to the sampler type.

◆ 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.

◆ 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: