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() [5/29]

void Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw ( Texture2D texture,
Rectangle destinationRectangle,
Rectangle? sourceRectangle,
VertexColors color,
float rotation,
Vector2 origin,
SpriteEffects effects,
float layerDepth )
inlineinherited

Definition at line 523 of file SpriteBatch.cs.

524 {
525 SpriteBatchItem spriteBatchItem = this.InsertNewBatchItem(texture);
528 float texelWidth = texture.TexelWidth;
530 float texelHeight = texture.TexelHeight;
531 if (bottomRightColor2 != null)
532 {
533 return;
534 }
535 float y = this._texCoordTL.Y;
539 int num;
540 this._texCoordTL = num;
542 }
class f__AnonymousType0<< Count > j__TPar
SpriteBatchItem InsertNewBatchItem(Texture2D texture)

References Microsoft.Xna.Framework.Graphics.SpriteBatch._texCoordTL, Terraria.Graphics.VertexColors.BottomRightColor, Microsoft.Xna.Framework.Graphics.SpriteBatch.InsertNewBatchItem(), j__TPar, Microsoft.Xna.Framework.Graphics.Texture2D.TexelHeight, Microsoft.Xna.Framework.Graphics.Texture2D.TexelWidth, Terraria.Graphics.VertexColors.TopRightColor, and Microsoft.Xna.Framework.Vector2.Y.