tModLoader v2024.11
A mod to make and play Terraria mods
TileBatch Class Reference

Inherits IDisposable.

Public Member Functions

 TileBatch (GraphicsDevice graphicsDevice)
 
void Begin ()
 
void Begin (Matrix transformation)
 
void Begin (RasterizerState rasterizer, Matrix transformation)
 
void Begin (SpriteSortMode sortMode, BlendState blendState)
 
void Begin (SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState)
 
void Begin (SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect)
 
void Begin (SpriteSortMode sortMode, BlendState blendState, SamplerState samplerState, DepthStencilState depthStencilState, RasterizerState rasterizerState, Effect effect, Matrix transformationMatrix)
 
void Dispose ()
 
void Draw (Texture2D texture, Vector2 position, Rectangle? sourceRectangle, VertexColors colors, Vector2 origin, float scale, SpriteEffects effects)
 
void Draw (Texture2D texture, Vector2 position, VertexColors colors)
 
void Draw (Texture2D texture, Vector4 destination, Rectangle? sourceRectangle, VertexColors colors)
 
void Draw (Texture2D texture, Vector4 destination, Rectangle? sourceRectangle, VertexColors colors, Vector2 origin, SpriteEffects effects, float rotation)
 
void Draw (Texture2D texture, Vector4 destination, VertexColors colors)
 
void End ()