C# Class Treefrog.Render.Layers.RenderLayer

Inheritance: CanvasLayer
ファイルを表示 Open project: jaquadro/Treefrog Class Usage Examples

Private Properties

Property Type Description
BeginDraw Vector2
BeginDraw Vector2
BeginDrawInner Vector2
BeginDrawInner Vector2
EndDraw void
EndDrawInner void
EndDrawInner void
GetOffset Vector2
GetSamplerState Microsoft.Xna.Framework.Graphics.SamplerState
SetupRasterizerState void
SetupRenderTarget void

Public Methods

Method Description
RenderLayer ( ) : System
RenderLayer ( RenderLayerPresenter model ) : System

Protected Methods

Method Description
BeginDraw ( SpriteBatch spriteBatch ) : Vector2
BeginDraw ( SpriteBatch spriteBatch, SamplerState samplerState ) : Vector2
BeginDraw ( SpriteBatch spriteBatch, SamplerState samplerState, Effect effect ) : Vector2
DisposeManaged ( ) : void
EndDraw ( SpriteBatch spriteBatch, Vector2 offset ) : void
RenderCommands ( SpriteBatch spriteBatch, TextureCache textureCache, IEnumerable drawList ) : void
RenderContent ( LilyPath.DrawBatch drawBatch ) : void
RenderContent ( SpriteBatch spriteBatch ) : void
RenderCore ( LilyPath.DrawBatch drawBatch ) : void
RenderCore ( GraphicsDevice device ) : void
RenderCore ( SpriteBatch spriteBatch ) : void

Private Methods

Method Description
BeginDraw ( LilyPath.DrawBatch drawBatch ) : Vector2
BeginDraw ( LilyPath.DrawBatch drawBatch, SamplerState samplerState ) : Vector2
BeginDrawInner ( LilyPath.DrawBatch drawBatch, SamplerState samplerState ) : Vector2
BeginDrawInner ( SpriteBatch spriteBatch, SamplerState samplerState, Effect effect ) : Vector2
EndDraw ( LilyPath.DrawBatch drawBatch, Vector2 offset ) : void
EndDrawInner ( LilyPath.DrawBatch drawBatch ) : void
EndDrawInner ( SpriteBatch spriteBatch ) : void
GetOffset ( ) : Vector2
GetSamplerState ( WrapMode wrapMode ) : SamplerState
SetupRasterizerState ( GraphicsDevice device ) : void
SetupRenderTarget ( GraphicsDevice device ) : void

Method Details

BeginDraw() protected method

protected BeginDraw ( SpriteBatch spriteBatch ) : Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return Vector2

BeginDraw() protected method

protected BeginDraw ( SpriteBatch spriteBatch, SamplerState samplerState ) : Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
samplerState Microsoft.Xna.Framework.Graphics.SamplerState
return Vector2

BeginDraw() protected method

protected BeginDraw ( SpriteBatch spriteBatch, SamplerState samplerState, Effect effect ) : Vector2
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
samplerState Microsoft.Xna.Framework.Graphics.SamplerState
effect Microsoft.Xna.Framework.Graphics.Effect
return Vector2

DisposeManaged() protected method

protected DisposeManaged ( ) : void
return void

EndDraw() protected method

protected EndDraw ( SpriteBatch spriteBatch, Vector2 offset ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
offset Vector2
return void

RenderCommands() protected method

protected RenderCommands ( SpriteBatch spriteBatch, TextureCache textureCache, IEnumerable drawList ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
textureCache TextureCache
drawList IEnumerable
return void

RenderContent() protected method

protected RenderContent ( LilyPath.DrawBatch drawBatch ) : void
drawBatch LilyPath.DrawBatch
return void

RenderContent() protected method

protected RenderContent ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

RenderCore() protected method

protected RenderCore ( LilyPath.DrawBatch drawBatch ) : void
drawBatch LilyPath.DrawBatch
return void

RenderCore() protected method

protected RenderCore ( GraphicsDevice device ) : void
device GraphicsDevice
return void

RenderCore() protected method

protected RenderCore ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

RenderLayer() public method

public RenderLayer ( ) : System
return System

RenderLayer() public method

public RenderLayer ( RenderLayerPresenter model ) : System
model RenderLayerPresenter
return System