C# Class TerrainDisplay.RendererBase

Inheritance: Microsoft.Xna.Framework.DrawableGameComponent
Afficher le fichier Open project: WCell/WCell-Terrain

Protected Properties

Свойство Type Description
_cachedIndices int[]
_cachedVertices TerrainDisplay.VertexPositionNormalColored[]
_renderCached bool

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Draw ( GameTime gameTime ) : void
RendererBase ( Microsoft.Xna.Framework.Game game ) : Microsoft.Xna.Framework

Méthodes protégées

Méthode Description
BuildVerticiesAndIndicies ( ) : void

Method Details

BuildVerticiesAndIndicies() protected abstract méthode

protected abstract BuildVerticiesAndIndicies ( ) : void
Résultat void

Draw() public méthode

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
Résultat void

RendererBase() public méthode

public RendererBase ( Microsoft.Xna.Framework.Game game ) : Microsoft.Xna.Framework
game Microsoft.Xna.Framework.Game
Résultat Microsoft.Xna.Framework

Property Details

_cachedIndices protected_oe property

protected int[] _cachedIndices
Résultat int[]

_cachedVertices protected_oe property

protected VertexPositionNormalColored[],TerrainDisplay _cachedVertices
Résultat TerrainDisplay.VertexPositionNormalColored[]

_renderCached protected_oe property

Boolean variable representing if all the rendering data has been cached.
protected bool _renderCached
Résultat bool