OGRE  1.9.0
Ogre::TerrainLayerSamplerElement Struct Reference

Information about one element of a sampler / texture within a layer. More...

#include <OgreTerrainMaterialGenerator.h>

Public Member Functions

 TerrainLayerSamplerElement ()
 
 TerrainLayerSamplerElement (uint8 src, TerrainLayerSamplerSemantic sem, uint8 elemStart, uint8 elemCount)
 
bool operator== (const TerrainLayerSamplerElement &e) const
 

Public Attributes

uint8 elementCount
 The number of colour elements this semantic uses (usually standard per semantic)
 
uint8 elementStart
 The colour element at which this element starts.
 
TerrainLayerSamplerSemantic semantic
 The semantic this element represents.
 
uint8 source
 The source sampler index of this element relative to LayerDeclaration's list.
 

Detailed Description

Information about one element of a sampler / texture within a layer.

Definition at line 70 of file OgreTerrainMaterialGenerator.h.

Constructor & Destructor Documentation

◆ TerrainLayerSamplerElement() [1/2]

Ogre::TerrainLayerSamplerElement::TerrainLayerSamplerElement ( )

Definition at line 89 of file OgreTerrainMaterialGenerator.h.

References elementCount, elementStart, semantic, source, and Ogre::TLSS_ALBEDO.

Referenced by operator==().

◆ TerrainLayerSamplerElement() [2/2]

Ogre::TerrainLayerSamplerElement::TerrainLayerSamplerElement ( uint8 src,
TerrainLayerSamplerSemantic sem,
uint8 elemStart,
uint8 elemCount )

Definition at line 93 of file OgreTerrainMaterialGenerator.h.

References elementCount, elementStart, semantic, and source.

Member Function Documentation

◆ operator==()

bool Ogre::TerrainLayerSamplerElement::operator== ( const TerrainLayerSamplerElement & e) const

Member Data Documentation

◆ elementCount

uint8 Ogre::TerrainLayerSamplerElement::elementCount

The number of colour elements this semantic uses (usually standard per semantic)

Definition at line 79 of file OgreTerrainMaterialGenerator.h.

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

◆ elementStart

uint8 Ogre::TerrainLayerSamplerElement::elementStart

The colour element at which this element starts.

Definition at line 77 of file OgreTerrainMaterialGenerator.h.

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

◆ semantic

TerrainLayerSamplerSemantic Ogre::TerrainLayerSamplerElement::semantic

The semantic this element represents.

Definition at line 75 of file OgreTerrainMaterialGenerator.h.

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

◆ source

uint8 Ogre::TerrainLayerSamplerElement::source

The source sampler index of this element relative to LayerDeclaration's list.

Definition at line 73 of file OgreTerrainMaterialGenerator.h.

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


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