C# 클래스 TerrainDisplay.RendererBase

상속: Microsoft.Xna.Framework.DrawableGameComponent
파일 보기 프로젝트 열기: WCell/WCell-Terrain

보호된 프로퍼티들

프로퍼티 타입 설명
_cachedIndices int[]
_cachedVertices TerrainDisplay.VertexPositionNormalColored[]
_renderCached bool

Private Properties

프로퍼티 타입 설명

공개 메소드들

메소드 설명
Draw ( GameTime gameTime ) : void
RendererBase ( Microsoft.Xna.Framework.Game game ) : Microsoft.Xna.Framework

보호된 메소드들

메소드 설명
BuildVerticiesAndIndicies ( ) : void

메소드 상세

BuildVerticiesAndIndicies() 보호된 추상적인 메소드

protected abstract BuildVerticiesAndIndicies ( ) : void
리턴 void

Draw() 공개 메소드

public Draw ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
리턴 void

RendererBase() 공개 메소드

public RendererBase ( Microsoft.Xna.Framework.Game game ) : Microsoft.Xna.Framework
game Microsoft.Xna.Framework.Game
리턴 Microsoft.Xna.Framework

프로퍼티 상세

_cachedIndices 보호되어 있는 프로퍼티

protected int[] _cachedIndices
리턴 int[]

_cachedVertices 보호되어 있는 프로퍼티

protected VertexPositionNormalColored[],TerrainDisplay _cachedVertices
리턴 TerrainDisplay.VertexPositionNormalColored[]

_renderCached 보호되어 있는 프로퍼티

Boolean variable representing if all the rendering data has been cached.
protected bool _renderCached
리턴 bool