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

◆ End()

void Microsoft.Xna.Framework.Graphics.SpriteBatch.End ( )
inlineinherited

Definition at line 88 of file SpriteBatch.cs.

89 {
90 if (!this._beginCalled)
91 {
92 Debug.LogError("Begin must be called before calling End.");
93 return;
94 }
95 SpriteSortMode sortMode = this._sortMode;
96 EffectPass spritePass = this._spritePass;
97 SpriteSortMode sortMode2 = this._sortMode;
98 bool batchDeffered = this.BatchDeffered;
99 SpriteBatcher batcher = this._batcher;
100 Effect effect = this._effect;
101 bool hasMatrix = this._hasMatrix;
102 if (!batchDeffered)
103 {
104 return;
105 }
106 SpriteBatchItemList firstBatchList = this._firstBatchList;
107 if (firstBatchList != null)
108 {
109 SpriteBatchItem first = firstBatchList.First;
110 return;
111 }
112 }
class f__AnonymousType0<< Count > j__TPar
static void LogError(object message)
Definition Debug.cs:62

References Microsoft.Xna.Framework.Graphics.SpriteBatch._batcher, Microsoft.Xna.Framework.Graphics.SpriteBatch._beginCalled, Microsoft.Xna.Framework.Graphics.SpriteBatch._effect, Microsoft.Xna.Framework.Graphics.SpriteBatch._firstBatchList, Microsoft.Xna.Framework.Graphics.SpriteBatch._hasMatrix, Microsoft.Xna.Framework.Graphics.SpriteBatch._sortMode, Microsoft.Xna.Framework.Graphics.SpriteBatch._spritePass, Microsoft.Xna.Framework.Graphics.SpriteBatch.BatchDeffered, j__TPar, and UnityEngine.Debug.LogError().

Referenced by Terraria.Graphics.Capture.CaptureInterface.Draw(), Terraria.Graphics.Capture.CaptureInterface.ModeEdgeSelection.Draw(), Terraria.Graphics.Capture.CaptureInterface.ModeDragBounds.Draw(), Terraria.UI.UIElement.Draw(), Terraria.Graphics.Effects.OverlayManager.Draw(), Terraria.Graphics.Effects.SkyManager.DrawDepthRange(), Terraria.GameContent.Liquid.LiquidRenderer.DrawShimmer(), and ReLogic.Graphics.BasicDebugDrawer.End().