OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
Terrain::Effect Class Reference

#include <material.hpp>

Inheritance diagram for Terrain::Effect:
Collaboration diagram for Terrain::Effect:

Public Member Functions

 Effect (bool useShaders, bool forcePerPixelLighting, bool clampLighting, Shader::ShaderManager *shaderManager, const std::vector< TextureLayer > &layers, const std::vector< osg::ref_ptr< osg::Texture2D > > &blendmaps, int blendmapScale, float layerTileSize)
 
virtual bool define_techniques ()
 
virtual const char * effectName () const
 
virtual const char * effectDescription () const
 
virtual const char * effectAuthor () const
 

Private Attributes

Shader::ShaderManagermShaderManager
 
bool mUseShaders
 
bool mForcePerPixelLighting
 
bool mClampLighting
 
std::vector< TextureLayermLayers
 
std::vector< osg::ref_ptr
< osg::Texture2D > > 
mBlendmaps
 
int mBlendmapScale
 
float mLayerTileSize
 

Constructor & Destructor Documentation

Terrain::Effect::Effect ( bool  useShaders,
bool  forcePerPixelLighting,
bool  clampLighting,
Shader::ShaderManager shaderManager,
const std::vector< TextureLayer > &  layers,
const std::vector< osg::ref_ptr< osg::Texture2D > > &  blendmaps,
int  blendmapScale,
float  layerTileSize 
)

Member Function Documentation

bool Terrain::Effect::define_techniques ( )
virtual
virtual const char* Terrain::Effect::effectAuthor ( ) const
inlinevirtual
virtual const char* Terrain::Effect::effectDescription ( ) const
inlinevirtual
virtual const char* Terrain::Effect::effectName ( ) const
inlinevirtual

Member Data Documentation

std::vector<osg::ref_ptr<osg::Texture2D> > Terrain::Effect::mBlendmaps
private
int Terrain::Effect::mBlendmapScale
private
bool Terrain::Effect::mClampLighting
private
bool Terrain::Effect::mForcePerPixelLighting
private
std::vector<TextureLayer> Terrain::Effect::mLayers
private
float Terrain::Effect::mLayerTileSize
private
Shader::ShaderManager* Terrain::Effect::mShaderManager
private
bool Terrain::Effect::mUseShaders
private

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