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

Microsoft.Xna.Framework.Graphics.Texture2D.Texture2D ( GraphicsDevice device,
int width,
int height,
bool mipmap,
SurfaceFormat format,
Texture2D::SurfaceType type,
bool shared,
int arraySize )
inlineprotected

Definition at line 408 of file Texture2D.cs.

409 {
410 int num = 257;
411 this.SharedBatching = num != 0;
412 base..ctor();
413 if (num == 0)
414 {
415 }
416 Debug.Log("Created");
417 this.Width = width;
418 this.ArraySize = height;
420 long num2 = 0L;
421 int num3 = Texture.CalculateMipLevels(width, height, (int)num2);
422 }
class f__AnonymousType0<< Count > j__TPar
static void Log(object message)
Definition Debug.cs:51

References Microsoft.Xna.Framework.Graphics.Texture.CalculateMipLevels(), System.format, j__TPar, System.L, and UnityEngine.Debug.Log().