OGRE 1.12.10
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
Ogre::TerrainLayerSampler Struct Reference

Description of a sampler that will be used with each layer. More...

#include <OgreTerrainMaterialGenerator.h>

Public Member Functions

 TerrainLayerSampler ()
 TerrainLayerSampler (const String &aliasName, PixelFormat fmt)
bool operator== (const TerrainLayerSampler &s) const

Public Attributes

String alias
 A descriptive name that is merely used to assist in recognition.
PixelFormat format
 The format required of this texture.

Detailed Description

Description of a sampler that will be used with each layer.

Constructor & Destructor Documentation

◆ TerrainLayerSampler() [1/2]

Ogre::TerrainLayerSampler::TerrainLayerSampler ( )
inline

References alias, format, and Ogre::PF_UNKNOWN.

Referenced by operator==().

◆ TerrainLayerSampler() [2/2]

Ogre::TerrainLayerSampler::TerrainLayerSampler ( const String & aliasName,
PixelFormat fmt )
inline

References alias, and format.

Member Function Documentation

◆ operator==()

bool Ogre::TerrainLayerSampler::operator== ( const TerrainLayerSampler & s) const
inline

References TerrainLayerSampler(), alias, and format.

Member Data Documentation

◆ alias

String Ogre::TerrainLayerSampler::alias

A descriptive name that is merely used to assist in recognition.

Referenced by TerrainLayerSampler(), TerrainLayerSampler(), and operator==().

◆ format

PixelFormat Ogre::TerrainLayerSampler::format

The format required of this texture.

Referenced by TerrainLayerSampler(), TerrainLayerSampler(), and operator==().


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