RigsofRods
Soft-body Physics Simulation
Public Member Functions
Terrn2CustomMaterial::Profile Class Reference
+ Inheritance diagram for Terrn2CustomMaterial::Profile:
+ Collaboration diagram for Terrn2CustomMaterial::Profile:

Public Member Functions

 Profile (Ogre::TerrainMaterialGenerator *parent, const Ogre::String &name, const Ogre::String &desc)
 
 ~Profile () override
 
bool isVertexCompressionSupported () const
 
void setLightmapEnabled (bool set)
 
Ogre::MaterialPtr generate (const Ogre::Terrain *terrain) override
 
Ogre::uint8 getMaxLayers (const Ogre::Terrain *terrain) const override
 
void updateParams (const Ogre::MaterialPtr &mat, const Ogre::Terrain *terrain) override
 
void updateParamsForCompositeMap (const Ogre::MaterialPtr &mat, const Ogre::Terrain *terrain) override
 
Ogre::MaterialPtr generateForCompositeMap (const Ogre::Terrain *terrain) override
 
void requestOptions (Ogre::Terrain *terrain) override
 

Detailed Description

Definition at line 62 of file TerrainGeometryManager.cpp.

Constructor & Destructor Documentation

◆ Profile()

Terrn2CustomMaterial::Profile::Profile ( Ogre::TerrainMaterialGenerator *  parent,
const Ogre::String &  name,
const Ogre::String &  desc 
)
inline

Definition at line 65 of file TerrainGeometryManager.cpp.

◆ ~Profile()

Terrn2CustomMaterial::Profile::~Profile ( )
inlineoverride

Definition at line 69 of file TerrainGeometryManager.cpp.

Member Function Documentation

◆ generate()

Ogre::MaterialPtr Terrn2CustomMaterial::Profile::generate ( const Ogre::Terrain *  terrain)
override

Definition at line 98 of file TerrainGeometryManager.cpp.

◆ generateForCompositeMap()

Ogre::MaterialPtr Terrn2CustomMaterial::Profile::generateForCompositeMap ( const Ogre::Terrain *  terrain)
inlineoverride

Definition at line 78 of file TerrainGeometryManager.cpp.

◆ getMaxLayers()

Ogre::uint8 Terrn2CustomMaterial::Profile::getMaxLayers ( const Ogre::Terrain *  terrain) const
inlineoverride

Definition at line 74 of file TerrainGeometryManager.cpp.

◆ isVertexCompressionSupported()

bool Terrn2CustomMaterial::Profile::isVertexCompressionSupported ( ) const
inline

Definition at line 71 of file TerrainGeometryManager.cpp.

◆ requestOptions()

void Terrn2CustomMaterial::Profile::requestOptions ( Ogre::Terrain *  terrain)
inlineoverride

Definition at line 83 of file TerrainGeometryManager.cpp.

◆ setLightmapEnabled()

void Terrn2CustomMaterial::Profile::setLightmapEnabled ( bool  set)
inline

Definition at line 72 of file TerrainGeometryManager.cpp.

◆ updateParams()

void Terrn2CustomMaterial::Profile::updateParams ( const Ogre::MaterialPtr &  mat,
const Ogre::Terrain *  terrain 
)
inlineoverride

Definition at line 75 of file TerrainGeometryManager.cpp.

◆ updateParamsForCompositeMap()

void Terrn2CustomMaterial::Profile::updateParamsForCompositeMap ( const Ogre::MaterialPtr &  mat,
const Ogre::Terrain *  terrain 
)
inlineoverride

Definition at line 76 of file TerrainGeometryManager.cpp.


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