OGRE  1.7
Object-Oriented Graphics Rendering Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL Class Reference

#include <OgreTerrainMaterialGeneratorA.h>

+ Inheritance diagram for Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL:
+ Collaboration diagram for Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL:

Public Member Functions

virtual HighLevelGpuProgramPtr generateFragmentProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual HighLevelGpuProgramPtr generateVertexProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
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 void updateParams (const SM2Profile *prof, const MaterialPtr &mat, const Terrain *terrain, bool compositeMap)
 

Protected Member Functions

HighLevelGpuProgramPtr createFragmentProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
HighLevelGpuProgramPtr createVertexProgram (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual void defaultFpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const HighLevelGpuProgramPtr &prog)
 
virtual void defaultVpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const HighLevelGpuProgramPtr &prog)
 
void generateFpDynamicShadows (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpDynamicShadowsHelpers (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpDynamicShadowsParams (uint *texCoord, uint *sampler, const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpFooter (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpHeader (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateFpLayer (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, uint layer, StringUtil::StrStreamType &outStream)
 
virtual void generateFragmentProgramSource (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
virtual void generateVertexProgramSource (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateVpDynamicShadows (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
uint generateVpDynamicShadowsParams (uint texCoordStart, const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateVpFooter (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateVpHeader (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, StringUtil::StrStreamType &outStream)
 
void generateVpLayer (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, uint layer, StringUtil::StrStreamType &outStream)
 
virtual String getFragmentProgramName (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual String getVertexProgramName (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt)
 
virtual void updateFpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const GpuProgramParametersSharedPtr &params)
 
virtual void updateVpParams (const SM2Profile *prof, const Terrain *terrain, TechniqueType tt, const GpuProgramParametersSharedPtr &params)
 

Static Protected Member Functions

static String getChannel (uint idx)
 

Protected Attributes

size_t mShadowSamplerStartHi
 
size_t mShadowSamplerStartLo
 

Detailed Description

Definition at line 210 of file OgreTerrainMaterialGeneratorA.h.

Member Function Documentation

HighLevelGpuProgramPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL::createFragmentProgram ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt 
)
protectedvirtual
HighLevelGpuProgramPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL::createVertexProgram ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt 
)
protectedvirtual
virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::defaultFpParams ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
const HighLevelGpuProgramPtr prog 
)
protectedvirtualinherited
virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::defaultVpParams ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
const HighLevelGpuProgramPtr prog 
)
protectedvirtualinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpDynamicShadows ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpDynamicShadowsHelpers ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpDynamicShadowsParams ( uint texCoord,
uint sampler,
const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpFooter ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedvirtualinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpHeader ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedvirtualinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpLayer ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
uint  layer,
StringUtil::StrStreamType outStream 
)
protectedvirtualinherited
virtual HighLevelGpuProgramPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::generateFragmentProgram ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt 
)
virtualinherited
virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::generateFragmentProgramSource ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedvirtualinherited
virtual HighLevelGpuProgramPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::generateVertexProgram ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt 
)
virtualinherited
virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::generateVertexProgramSource ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedvirtualinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpDynamicShadows ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedinherited
uint Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpDynamicShadowsParams ( uint  texCoordStart,
const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpFooter ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedvirtualinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpHeader ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
StringUtil::StrStreamType outStream 
)
protectedvirtualinherited
void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpLayer ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
uint  layer,
StringUtil::StrStreamType outStream 
)
protectedvirtualinherited
static String Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::getChannel ( uint  idx)
staticprotectedinherited
virtual String Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::getFragmentProgramName ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt 
)
protectedvirtualinherited
virtual String Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::getVertexProgramName ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt 
)
protectedvirtualinherited
template<class Alloc >
void Ogre::AllocatedObject< Alloc >::operator delete ( void *  ptr)
inlineinherited

Definition at line 95 of file OgreMemoryAllocatedObject.h.

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

Definition at line 101 of file OgreMemoryAllocatedObject.h.

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

Definition at line 107 of file OgreMemoryAllocatedObject.h.

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

Definition at line 112 of file OgreMemoryAllocatedObject.h.

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

Definition at line 118 of file OgreMemoryAllocatedObject.h.

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

Definition at line 67 of file OgreMemoryAllocatedObject.h.

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

Definition at line 72 of file OgreMemoryAllocatedObject.h.

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

placement operator new

Definition at line 78 of file OgreMemoryAllocatedObject.h.

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

Definition at line 85 of file OgreMemoryAllocatedObject.h.

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

Definition at line 90 of file OgreMemoryAllocatedObject.h.

virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::updateFpParams ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
const GpuProgramParametersSharedPtr params 
)
protectedvirtualinherited
virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::updateParams ( const SM2Profile prof,
const MaterialPtr mat,
const Terrain terrain,
bool  compositeMap 
)
virtualinherited
virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::updateVpParams ( const SM2Profile prof,
const Terrain terrain,
TechniqueType  tt,
const GpuProgramParametersSharedPtr params 
)
protectedvirtualinherited

Member Data Documentation

size_t Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::mShadowSamplerStartHi
protectedinherited

Definition at line 186 of file OgreTerrainMaterialGeneratorA.h.

size_t Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::mShadowSamplerStartLo
protectedinherited

Definition at line 187 of file OgreTerrainMaterialGeneratorA.h.


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