C# Class RenderingLibrary.Graphics.SpriteRenderer

Datei anzeigen Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Property Type Description
ClearPerformanceRecordingVariables void
CreateRasterizerStates void
Draw void
Draw void
Draw void
DrawString void
End void
GetSamplerState Microsoft.Xna.Framework.Graphics.SamplerState
GetZoomAndMatrix Matrix

Public Methods

Method Description
Begin ( ) : void
BeginSpriteBatch ( RenderStateVariables renderStates, Layer layer, BeginType beginType, Camera camera ) : void
EndSpriteBatch ( ) : void
Initialize ( GraphicsDevice graphicsDevice ) : void

Private Methods

Method Description
ClearPerformanceRecordingVariables ( ) : void
CreateRasterizerStates ( ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D textureToUse, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, float rotation, Vector2 vector2, SpriteEffects effects, int layerDepth, object objectRequestingChange ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture2D, Rectangle destinationRectangle, Rectangle sourceRectangle, Color color, object objectRequestingChange ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D textureToUse, Vector2 position, Rectangle sourceRectangle, Color color, float rotation, Vector2 vector22, Vector2 scale, SpriteEffects effects, float depth, object objectRequestingChange ) : void
DrawString ( SpriteFont font, string line, Vector2 offset, Color color, object objectRequestingChange ) : void
End ( ) : void
GetSamplerState ( RenderStateVariables renderStates ) : SamplerState
GetZoomAndMatrix ( Layer layer, Camera camera ) : Matrix

Method Details

Begin() public method

public Begin ( ) : void
return void

BeginSpriteBatch() public method

public BeginSpriteBatch ( RenderStateVariables renderStates, Layer layer, BeginType beginType, Camera camera ) : void
renderStates RenderStateVariables
layer Layer
beginType BeginType
camera Camera
return void

EndSpriteBatch() public method

public EndSpriteBatch ( ) : void
return void

Initialize() public method

public Initialize ( GraphicsDevice graphicsDevice ) : void
graphicsDevice GraphicsDevice
return void