C# Class MonoGdx.Graphics.G2D.GdxSpriteBatch

Inheritance: IDisposable
Exibir arquivo Open project: jaquadro/MonoGdx Class Usage Examples

Private Properties

Property Type Description
CalculateIndexBuffer void
CheckState void
CheckValid void
Setup void
SetupMatrix void
SwitchTexture void

Public Methods

Method Description
Begin ( ) : void
Begin ( Matrix projectionMatrix, Matrix transformMatrix ) : void
Dispose ( ) : void
Draw ( TextureContext texture, Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture vertices, int offset, int count ) : void
Draw ( TextureContext texture, float x, float y, float width, float height, float u, float v, float u2, float v2 ) : void
Draw ( TextureRegion region, float x, float y ) : void
Draw ( TextureRegion region, float x, float y, float width, float height ) : void
Draw ( TextureRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation ) : void
End ( ) : void
Flush ( ) : void
GdxSpriteBatch ( GraphicsDevice graphicsDevice ) : System

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Private Methods

Method Description
CalculateIndexBuffer ( ) : void
CheckState ( TextureContext texture ) : void
CheckValid ( TextureContext texture ) : void
Setup ( ) : void
SetupMatrix ( ) : void
SwitchTexture ( TextureContext texture ) : void

Method Details

Begin() public method

public Begin ( ) : void
return void

Begin() public method

public Begin ( Matrix projectionMatrix, Matrix transformMatrix ) : void
projectionMatrix Matrix
transformMatrix Matrix
return void

Dispose() public method

public Dispose ( ) : void
return void

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

Draw() public method

public Draw ( TextureContext texture, Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture vertices, int offset, int count ) : void
texture TextureContext
vertices Microsoft.Xna.Framework.Graphics.VertexPositionColorTexture
offset int
count int
return void

Draw() public method

public Draw ( TextureContext texture, float x, float y, float width, float height, float u, float v, float u2, float v2 ) : void
texture TextureContext
x float
y float
width float
height float
u float
v float
u2 float
v2 float
return void

Draw() public method

public Draw ( TextureRegion region, float x, float y ) : void
region TextureRegion
x float
y float
return void

Draw() public method

public Draw ( TextureRegion region, float x, float y, float width, float height ) : void
region TextureRegion
x float
y float
width float
height float
return void

Draw() public method

public Draw ( TextureRegion region, float x, float y, float originX, float originY, float width, float height, float scaleX, float scaleY, float rotation ) : void
region TextureRegion
x float
y float
originX float
originY float
width float
height float
scaleX float
scaleY float
rotation float
return void

End() public method

public End ( ) : void
return void

Flush() public method

public Flush ( ) : void
return void

GdxSpriteBatch() public method

public GdxSpriteBatch ( GraphicsDevice graphicsDevice ) : System
graphicsDevice GraphicsDevice
return System