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

◆ RenderVertexArray2()

void Microsoft.Xna.Framework.Graphics.SpriteBatcher.RenderVertexArray2 ( Effect effect,
Texture2D texture,
EffectPass overloadEffectPass,
int vertexCount,
int indexCount,
Vector3 position,
Vector3 scale )
inlineprivate

Definition at line 350 of file SpriteBatcher.cs.

351 {
352 if (overloadEffectPass != null)
353 {
354 GraphicsDevice device = this._device;
355 SpriteBatcher.VertexData[] array = this.vertexData;
356 short[] array2 = this.indexData;
357 return;
358 }
360 bool flag = enumerator.MoveNext();
362 if (texture == null || texture != null)
363 {
364 textures.<Name>k__BackingField = texture;
365 GraphicsDevice device2 = this._device;
366 SpriteBatcher.VertexData[] array3 = this.vertexData;
367 short[] array4 = this.indexData;
368 return;
369 }
370 throw new ArrayTypeMismatchException();
371 }
class f__AnonymousType0<< Count > j__TPar

References Microsoft.Xna.Framework.Graphics.SpriteBatcher._device, System.array, Microsoft.Xna.Framework.Graphics.SpriteBatcher.indexData, j__TPar, Microsoft.Xna.Framework.Graphics.EffectPassCollection.Enumerator.MoveNext(), System.Name, Microsoft.Xna.Framework.Graphics.GraphicsDevice.Textures, and Microsoft.Xna.Framework.Graphics.SpriteBatcher.vertexData.