C# Class RekdEngine.Render.SpriteBatch

显示文件 Open project: Naronco/Rekd-Sharp Class Usage Examples

Public Methods

Method Description
Begin ( Color clear ) : void
Draw ( Texture2D texture, Rectangle size, Color color ) : void
Draw ( Texture2D texture, Vector2f position, Color color ) : void
DrawPrimitive ( Rectangle r ) : void
End ( ) : void
SpriteBatch ( SharpDX.Direct3D9.Device d, ContentManager c ) : System

Method Details

Begin() public method

public Begin ( Color clear ) : void
clear Color
return void

Draw() public method

public Draw ( Texture2D texture, Rectangle size, Color color ) : void
texture RekdEngine.Content.Texture2D
size RekdEngine.UtilMath.Rectangle
color Color
return void

Draw() public method

public Draw ( Texture2D texture, Vector2f position, Color color ) : void
texture RekdEngine.Content.Texture2D
position RekdEngine.UtilMath.Vector2f
color Color
return void

DrawPrimitive() public method

public DrawPrimitive ( Rectangle r ) : void
r RekdEngine.UtilMath.Rectangle
return void

End() public method

public End ( ) : void
return void

SpriteBatch() public method

public SpriteBatch ( SharpDX.Direct3D9.Device d, ContentManager c ) : System
d SharpDX.Direct3D9.Device
c ContentManager
return System