terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
Loading...
Searching...
No Matches

◆ Draw() [6/29]

void Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw ( Texture2D texture,
Vector2 position,
Color color )
inlineinherited

Definition at line 581 of file SpriteBatch.cs.

582 {
583 SpriteBatchItem spriteBatchItem = this.InsertNewBatchItem(texture);
584 if (!true)
585 {
586 }
587 if (!true)
588 {
589 }
590 int width = texture.Width;
591 int height = texture.Height;
592 SpriteSortMode sortMode = this._sortMode;
593 if (!this.BatchDeffered)
594 {
595 SpriteBatcher batcher = this._batcher;
596 Effect effect = this._effect;
597 batcher.DrawImmediateBatch(effect);
598 }
599 }
class f__AnonymousType0<< Count > j__TPar
SpriteBatchItem InsertNewBatchItem(Texture2D texture)

References Microsoft.Xna.Framework.Graphics.SpriteBatch._batcher, Microsoft.Xna.Framework.Graphics.SpriteBatch._effect, Microsoft.Xna.Framework.Graphics.SpriteBatch._sortMode, Microsoft.Xna.Framework.Graphics.SpriteBatch.BatchDeffered, Microsoft.Xna.Framework.Graphics.SpriteBatcher.DrawImmediateBatch(), Microsoft.Xna.Framework.Graphics.Texture2D.Height, Microsoft.Xna.Framework.Graphics.SpriteBatch.InsertNewBatchItem(), j__TPar, and Microsoft.Xna.Framework.Graphics.Texture2D.Width.