OGRE  1.9.0
Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL Class Reference

#include <OgreTerrainMaterialGeneratorA.h>

Inheritance 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 operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, const char *, int, const char *)
 
void operator delete (void *ptr, void *)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void operator delete[] (void *ptr, const char *, int, const char *)
 
void * operator new (size_t sz)
 
void * operator new (size_t sz)
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
void * operator new (size_t sz, const char *file, int line, const char *func)
 operator new, with debug line info
 
void * operator new (size_t sz, void *ptr)
 placement operator new
 
void * operator new (size_t sz, void *ptr)
 placement operator new
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz)
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 
void * operator new[] (size_t sz, const char *file, int line, const char *func)
 array operator new, with debug line info
 
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 212 of file OgreTerrainMaterialGeneratorA.h.

Member Function Documentation

◆ createFragmentProgram()

HighLevelGpuProgramPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL::createFragmentProgram ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt )
protectedvirtual

◆ createVertexProgram()

HighLevelGpuProgramPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperHLSL::createVertexProgram ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt )
protectedvirtual

◆ defaultFpParams()

virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::defaultFpParams ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
const HighLevelGpuProgramPtr & prog )
protectedvirtualinherited

◆ defaultVpParams()

virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::defaultVpParams ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
const HighLevelGpuProgramPtr & prog )
protectedvirtualinherited

◆ generateFpDynamicShadows()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpDynamicShadows ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedinherited

◆ generateFpDynamicShadowsHelpers()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpDynamicShadowsHelpers ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedinherited

◆ generateFpDynamicShadowsParams()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpDynamicShadowsParams ( uint * texCoord,
uint * sampler,
const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedinherited

◆ generateFpFooter()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpFooter ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedvirtualinherited

◆ generateFpHeader()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpHeader ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedvirtualinherited

◆ generateFpLayer()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateFpLayer ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
uint layer,
StringUtil::StrStreamType & outStream )
protectedvirtualinherited

◆ generateFragmentProgram()

virtual HighLevelGpuProgramPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::generateFragmentProgram ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt )
virtualinherited

◆ generateFragmentProgramSource()

virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::generateFragmentProgramSource ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedvirtualinherited

◆ generateVertexProgram()

virtual HighLevelGpuProgramPtr Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::generateVertexProgram ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt )
virtualinherited

◆ generateVertexProgramSource()

virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::generateVertexProgramSource ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedvirtualinherited

◆ generateVpDynamicShadows()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpDynamicShadows ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedinherited

◆ generateVpDynamicShadowsParams()

uint Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpDynamicShadowsParams ( uint texCoordStart,
const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedinherited

◆ generateVpFooter()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpFooter ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedvirtualinherited

◆ generateVpHeader()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpHeader ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
StringUtil::StrStreamType & outStream )
protectedvirtualinherited

◆ generateVpLayer()

void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelperCg::generateVpLayer ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
uint layer,
StringUtil::StrStreamType & outStream )
protectedvirtualinherited

◆ getChannel()

static String Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::getChannel ( uint idx)
staticprotectedinherited

◆ getFragmentProgramName()

virtual String Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::getFragmentProgramName ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt )
protectedvirtualinherited

◆ getVertexProgramName()

virtual String Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::getVertexProgramName ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt )
protectedvirtualinherited

◆ operator delete() [1/6]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete ( void * ptr)
inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [2/6]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete ( void * ptr)
inherited

Definition at line 96 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [3/6]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete ( void * ptr,
const char * ,
int ,
const char *  )
inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [4/6]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete ( void * ptr,
const char * ,
int ,
const char *  )
inherited

Definition at line 108 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [5/6]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete ( void * ptr,
void *  )
inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

◆ operator delete() [6/6]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete ( void * ptr,
void *  )
inherited

Definition at line 102 of file OgreMemoryAllocatedObject.h.

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

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete[] ( void * ptr)
inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

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

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete[] ( void * ptr)
inherited

Definition at line 113 of file OgreMemoryAllocatedObject.h.

◆ operator delete[]() [3/4]

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete[] ( void * ptr,
const char * ,
int ,
const char *  )
inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

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

void Ogre::AllocatedObject< GeneralAllocPolicy >::operator delete[] ( void * ptr,
const char * ,
int ,
const char *  )
inherited

Definition at line 119 of file OgreMemoryAllocatedObject.h.

◆ operator new() [1/6]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new ( size_t sz)
inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

◆ operator new() [2/6]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new ( size_t sz)
inherited

Definition at line 73 of file OgreMemoryAllocatedObject.h.

◆ operator new() [3/6]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new ( size_t sz,
const char * file,
int line,
const char * func )
inherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

◆ operator new() [4/6]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new ( size_t sz,
const char * file,
int line,
const char * func )
inherited

operator new, with debug line info

Definition at line 68 of file OgreMemoryAllocatedObject.h.

◆ operator new() [5/6]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new ( size_t sz,
void * ptr )
inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

◆ operator new() [6/6]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new ( size_t sz,
void * ptr )
inherited

placement operator new

Definition at line 79 of file OgreMemoryAllocatedObject.h.

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

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new[] ( size_t sz)
inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

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

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new[] ( size_t sz)
inherited

Definition at line 91 of file OgreMemoryAllocatedObject.h.

◆ operator new[]() [3/4]

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new[] ( size_t sz,
const char * file,
int line,
const char * func )
inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

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

void * Ogre::AllocatedObject< GeneralAllocPolicy >::operator new[] ( size_t sz,
const char * file,
int line,
const char * func )
inherited

array operator new, with debug line info

Definition at line 86 of file OgreMemoryAllocatedObject.h.

◆ updateFpParams()

virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::updateFpParams ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
const GpuProgramParametersSharedPtr & params )
protectedvirtualinherited

◆ updateParams()

virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::updateParams ( const SM2Profile * prof,
const MaterialPtr & mat,
const Terrain * terrain,
bool compositeMap )
virtualinherited

◆ updateVpParams()

virtual void Ogre::TerrainMaterialGeneratorA::SM2Profile::ShaderHelper::updateVpParams ( const SM2Profile * prof,
const Terrain * terrain,
TechniqueType tt,
const GpuProgramParametersSharedPtr & params )
protectedvirtualinherited

Member Data Documentation

◆ mShadowSamplerStartHi

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

Definition at line 189 of file OgreTerrainMaterialGeneratorA.h.

Referenced by ShaderHelper().

◆ mShadowSamplerStartLo

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

Definition at line 190 of file OgreTerrainMaterialGeneratorA.h.

Referenced by ShaderHelper().


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