C# Class RekdEngine.Render.SpriteBatch

Afficher le fichier Open project: Naronco/Rekd-Sharp Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public Begin ( Color clear ) : void
clear Color
Résultat void

Draw() public méthode

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

Draw() public méthode

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

DrawPrimitive() public méthode

public DrawPrimitive ( Rectangle r ) : void
r RekdEngine.UtilMath.Rectangle
Résultat void

End() public méthode

public End ( ) : void
Résultat void

SpriteBatch() public méthode

public SpriteBatch ( SharpDX.Direct3D9.Device d, ContentManager c ) : System
d SharpDX.Direct3D9.Device
c ContentManager
Résultat System