C# Class Terraria.Graphics.TileBatch

Afficher le fichier Open project: EmuDevs/EDTerraria Class Usage Examples

Méthodes publiques

Méthode Description
Begin ( ) : void
Dispose ( ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle destinationRectangle, Rectangle sourceRectangle, VertexColors colors ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Rectangle sourceRectangle, VertexColors colors, Vector2 origin, float scale, SpriteEffects effects ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, VertexColors colors ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, VertexColors colors, Vector2 scale ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector4 destination, VertexColors colors ) : void
End ( ) : void
TileBatch ( GraphicsDevice g ) : Microsoft.Xna.Framework

Private Methods

Méthode Description
Allocate ( ) : void
CreateIndexData ( ) : short[]
Flush ( ) : void
FlushRenderState ( ) : void
InternalDraw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector4 &destination, bool scaleDestination, Rectangle &sourceRectangle, VertexColors &colors, Vector2 &origin, SpriteEffects effects ) : void
RenderBatch ( Microsoft.Xna.Framework.Graphics.Texture2D texture, SpriteData sprites, int offset, int count ) : void
TileBatch ( ) : Microsoft.Xna.Framework

Method Details

Begin() public méthode

public Begin ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle destinationRectangle, Rectangle sourceRectangle, VertexColors colors ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
destinationRectangle Microsoft.Xna.Framework.Rectangle
sourceRectangle Microsoft.Xna.Framework.Rectangle
colors VertexColors
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Rectangle sourceRectangle, VertexColors colors, Vector2 origin, float scale, SpriteEffects effects ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
sourceRectangle Microsoft.Xna.Framework.Rectangle
colors VertexColors
origin Vector2
scale float
effects SpriteEffects
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, VertexColors colors ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
colors VertexColors
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, VertexColors colors, Vector2 scale ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
colors VertexColors
scale Vector2
Résultat void

Draw() public méthode

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector4 destination, VertexColors colors ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
destination Vector4
colors VertexColors
Résultat void

End() public méthode

public End ( ) : void
Résultat void

TileBatch() public méthode

public TileBatch ( GraphicsDevice g ) : Microsoft.Xna.Framework
g GraphicsDevice
Résultat Microsoft.Xna.Framework