OGRE  2.2.4
Object-Oriented Graphics Rendering Engine
Ogre::RTShader::TriplanarTexturing Class Reference

Triplanar Texturing. More...

#include <OgreShaderExTriplanarTexturing.h>

+ Inheritance diagram for Ogre::RTShader::TriplanarTexturing:

Public Member Functions

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
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info More...
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, void *ptr)
 placement operator new More...
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info More...
 
void * operator new[] (size_t sz)
 
virtual bool preAddToRenderState (const RenderState *renderState, Pass *srcPass, Pass *dstPass)
 
virtual void setParameters (const Vector3 &parameters)
 Sets the parameters. More...
 
virtual void setTextureNames (const String &textureNameFromX, const String &textureNameFromY, const String &textureNameFromZ)
 Sets the texture names for the mapping. More...
 
virtual void updateGpuProgramsParams (Renderable *rend, Pass *pass, const AutoParamDataSource *source, const LightList *pLightList)
 

Static Public Attributes

static String type
 The type. More...
 

Detailed Description

Triplanar Texturing.

Derives from SubRenderState class.

Member Function Documentation

◆ copyFrom()

virtual void Ogre::RTShader::TriplanarTexturing::copyFrom ( const SubRenderState rhs)
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.

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

◆ getExecutionOrder()

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

◆ getType()

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

◆ operator delete() [1/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

◆ operator delete() [2/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
void *   
)
inlineinherited

◆ operator delete() [3/3]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator delete[]() [1/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr)
inlineinherited

◆ operator delete[]() [2/2]

template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete[] ( void *  ptr,
const char *  ,
int  ,
const char *   
)
inlineinherited

◆ operator new() [1/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

operator new, with debug line info

◆ operator new() [2/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz)
inlineinherited

◆ operator new() [3/3]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new ( size_t  sz,
void *  ptr 
)
inlineinherited

placement operator new

◆ operator new[]() [1/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz,
const char *  file,
int  line,
const char *  func 
)
inlineinherited

array operator new, with debug line info

◆ operator new[]() [2/2]

template<class Alloc >
void* Ogre::AllocatedObject< Alloc >::operator new[] ( size_t  sz)
inlineinherited

◆ preAddToRenderState()

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

◆ setParameters()

virtual void Ogre::RTShader::TriplanarTexturing::setParameters ( const Vector3 parameters)
virtual

Sets the parameters.

Parameters
parametersParameters: Texturescale, Plateau-size (0 to 0.57, not bigger to avoid division by zero!), transition-speed.

◆ setTextureNames()

virtual void Ogre::RTShader::TriplanarTexturing::setTextureNames ( const String textureNameFromX,
const String textureNameFromY,
const String textureNameFromZ 
)
virtual

Sets the texture names for the mapping.

Parameters
textureNameFromXThe texture mapping from x.
textureNameFromYThe texture mapping from y.
textureNameFromZThe texture mapping from z.

◆ updateGpuProgramsParams()

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

Member Data Documentation

◆ type

String Ogre::RTShader::TriplanarTexturing::type
static

The type.


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