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

◆ Texture2DArray() [3/6]

UnityEngine.Texture2DArray.Texture2DArray ( int width,
int height,
int depth,
GraphicsFormat format,
TextureCreationFlags flags,
int mipCount )
inline

Definition at line 69 of file Texture2DArray.cs.

70 {
71 if (!true)
72 {
73 }
74 base..ctor();
75 bool flag = this.ValidateFormat(format, width, height);
76 Texture2DArray.ValidateIsNotCrunched(flags);
77 Texture2DArray.Internal_Create(this, width, height, depth, mipCount, format, flags);
78 }
class f__AnonymousType0<< Count > j__TPar
bool ValidateFormat(TextureFormat format, int width, int height)
Texture2DArray(int width, int height, int depth, DefaultFormat format, TextureCreationFlags flags)
virtual int width
Definition Texture.cs:41
virtual int height
Definition Texture.cs:56

References System.format, UnityEngine.Texture.height, UnityEngine.Texture2DArray.Internal_Create(), j__TPar, UnityEngine.Texture2DArray.ValidateFormat(), UnityEngine.Texture2DArray.ValidateIsNotCrunched(), and UnityEngine.Texture.width.