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

UnityEngine.Texture2D.Texture2D ( int width,
int height,
TextureFormat textureFormat,
int mipCount,
bool linear,
IntPtr nativeTex )
inlinepackage

Definition at line 103 of file Texture2D.cs.

104 {
105 if (!true)
106 {
107 }
108 base..ctor();
109 bool flag = this.ValidateFormat(textureFormat, width, height);
110 if (!true)
111 {
112 }
113 if (!true)
114 {
115 }
117 }
class f__AnonymousType0<< Count > j__TPar
bool ValidateFormat(TextureFormat format, int width, int height)
Definition Texture2D.cs:96
virtual int height
Definition Texture.cs:56

References UnityEngine.Texture.height, UnityEngine.Experimental.Rendering.GraphicsFormatUtility.IsCrunchFormat(), j__TPar, UnityEngine.Texture2D.ValidateFormat(), and UnityEngine.Texture.width.