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

◆ InsertNewBatchItem()

SpriteBatchItem Microsoft.Xna.Framework.Graphics.SpriteBatch.InsertNewBatchItem ( Texture2D texture)
inlineinherited

Definition at line 185 of file SpriteBatch.cs.

186 {
187 do
188 {
190 SpriteBatcher batcher = this._batcher;
191 SpriteBatchItem[] batchItemList = batcher._batchItemList;
192 GraphicsDevice device = batcher._device;
193 SpriteBatchItem[] batchItemList2 = batcher._batchItemList;
195 if (overloadedEffectPass != null)
196 {
198 }
199 int batchTextureIndex = texture.BatchTextureIndex;
200 if (this.BatchDeffered)
201 {
202 int lastBatchListId = batcher._lastBatchListId;
203 SpriteBatchItemList lastBatchList = batcher._lastBatchList;
204 }
205 SpriteBatchItem lastBatchItem = this._lastBatchItem;
206 if (lastBatchItem != null)
207 {
208 }
209 SpriteBatchItem nextBatchItem = lastBatchItem.NextBatchItem;
210 SpriteBatcher batcher2 = this._batcher;
211 SpriteBatcher batcher3 = this._batcher;
214 if (batcher3._batchItemList != null)
215 {
216 int batchItemCount = batcher3._batchItemCount;
217 }
219 {
220 SpriteBatchItemList firstBatchList = this._firstBatchList;
221 if (firstBatchList != null)
222 {
223 SpriteBatchItem first = firstBatchList.First;
224 }
225 if (this._lastBatchList == null)
226 {
228 }
230 }
231 if (texture.SharedBatching)
232 {
233 SpriteBatchItemList lastBatchList2 = this._lastBatchList;
234 if (lastBatchList2 != null)
235 {
236 SpriteBatchItem last = lastBatchList2.Last;
237 }
238 if (this._firstBatchList == null)
239 {
241 }
243 }
244 }
245 while (texture.NonSharedHeadInsert);
246 throw new ArrayTypeMismatchException();
247 }
class f__AnonymousType0<< Count > j__TPar

References Microsoft.Xna.Framework.Graphics.SpriteBatch._batcher, Microsoft.Xna.Framework.Graphics.SpriteBatcher._batchItemList, Microsoft.Xna.Framework.Graphics.SpriteBatch._firstBatchList, Microsoft.Xna.Framework.Graphics.SpriteBatch._lastBatchItem, Microsoft.Xna.Framework.Graphics.SpriteBatch._lastBatchList, Microsoft.Xna.Framework.Graphics.SpriteBatcher._lastBatchListId, Microsoft.Xna.Framework.Graphics.SpriteBatch.BatchDeffered, Microsoft.Xna.Framework.Graphics.SpriteBatch.BatchDefferedHeadInsert, Microsoft.Xna.Framework.Graphics.EffectPass.BatchIndex, Microsoft.Xna.Framework.Graphics.Texture2D.BatchTextureIndex, j__TPar, Microsoft.Xna.Framework.Graphics.SpriteBatchItem.NextBatchItem, Microsoft.Xna.Framework.Graphics.Texture2D.NonSharedHeadInsert, Microsoft.Xna.Framework.Graphics.SpriteBatch.OverloadedEffectPass, Microsoft.Xna.Framework.Graphics.Texture2D.SharedBatching, and Microsoft.Xna.Framework.Graphics.SpriteBatchItem.Texture.

Referenced by Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), Microsoft.Xna.Framework.Graphics.SpriteBatch.Draw(), and Microsoft.Xna.Framework.Graphics.Clipper.InjectBatches().