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

◆ Texture2D() [7/12]

Microsoft.Xna.Framework.Graphics.Texture2D.Texture2D ( TextureAtlasDB textureAtlas,
TextureAtlasEntry entry )
inline

Definition at line 358 of file Texture2D.cs.

359 {
360 while (!true)
361 {
362 }
363 Debug.LogError("Texture is already attached");
366 int[] textureWidth = textureAtlas.TextureWidth;
367 this.UnityWidth = textureWidth;
368 int[] textureHeight = textureAtlas.TextureHeight;
369 this.UnityHeight = textureHeight;
370 if (textureAtlas != null && this.SharedBatching)
371 {
372 int[] batchTextureIndex = textureAtlas.BatchTextureIndex;
373 return;
374 }
375 }
class f__AnonymousType0<< Count > j__TPar
static void LogError(object message)
Definition Debug.cs:62

References TextureAtlasDB.BatchTextureIndex, j__TPar, UnityEngine.Debug.LogError(), and Microsoft.Xna.Framework.Graphics.Texture2D.SharedBatching.