terraria-cpp2il v1.4.4.9
Terraria mobile dump, with CallAnalysis (see source code). Dump with reconstucted method: https://infinitynichto.github.io/terraria-cpp2il-methodrecon
|
Public Member Functions | |
Texture2D (int width, int height, TextureFormat textureFormat, bool mipChain) | |
Texture2D (int width, int height) | |
void | SetPixel (int x, int y, Color color) |
Color | GetPixelBilinear (float u, float v) |
unsafe NativeArray< T > | GetRawTextureData< T > () |
void | Apply ([DefaultValue("true")] bool updateMipmaps, [DefaultValue("false")] bool makeNoLongerReadable) |
void | Apply () |
unsafe int | GetInstanceID () |
override int | GetHashCode () |
override bool | Equals (object other) |
static void | Destroy (Object obj, [DefaultValue("0.0F")] float t) |
static void | DestroyImmediate (Object obj, [DefaultValue("false")] bool allowDestroyingAssets) |
static Object[] | FindObjectsOfType (Type type, bool includeInactive) |
static void | DontDestroyOnLoad ([NotNull("NullExceptionObject")] Object target) |
override string | ToString () |
Static Public Member Functions | |
static implicit | operator bool (Object exists) |
static Object | Instantiate (Object original, Vector3 position, Quaternion rotation) |
static Object | Instantiate (Object original) |
static T | Instantiate< T > (T original) |
static T | Instantiate< T > (T original, Vector3 position, Quaternion rotation) |
static void | Destroy (Object obj) |
static void | DestroyImmediate (Object obj) |
static T[] | FindObjectsOfType< T > () |
static bool | operator== (Object x, Object y) |
static bool | operator!= (Object x, Object y) |
Static Public Attributes | |
static readonly int | GenerateAllMips |
Package Functions | |
bool | ValidateFormat (TextureFormat format, int width, int height) |
Texture2D (int width, int height, TextureFormat textureFormat, int mipCount, bool linear, IntPtr nativeTex) | |
bool | ValidateFormat (TextureFormat format) |
bool | ValidateFormat (GraphicsFormat format, FormatUsage usage) |
UnityException | CreateNonReadableException (Texture t) |
UnityException | CreateNativeArrayLengthOverflowException () |
static Object | FindObjectFromInstanceID (int instanceID) |
Static Package Attributes | |
const int | streamingMipmapsPriorityMin = -128 |
const int | streamingMipmapsPriorityMax = 127 |
static int | OffsetOfInstanceIDInCPlusPlusObject |
Properties | |
TextureFormat | format [get, set] |
static Texture2D | whiteTexture [get, set] |
override bool | isReadable [get, set] |
virtual int | width [get, set] |
virtual int | height [get, set] |
TextureWrapMode | wrapMode [get, set] |
FilterMode | filterMode [set] |
Vector2 | texelSize [get, set] |
string | name [get, set] |
HideFlags | hideFlags [set] |
Static Private Member Functions | |
static void | Internal_Create ([Writable] Texture2D mono, int w, int h, int mipCount, GraphicsFormat format, TextureCreationFlags flags, IntPtr nativeTex) |
static bool | CompareBaseObjects (Object lhs, Object rhs) |
static bool | IsNativeObjectAlive (Object o) |
static void | CheckNullArgument (object arg, string message) |
static Object | Internal_InstantiateSingle ([NotNull("NullExceptionObject")] Object data, Vector3 pos, Quaternion rot) |
Private Attributes | |
IntPtr | m_CachedPtr |
Static Private Attributes | |
const string | objectIsNullMessage = "The Object you want to instantiate is null." |
const string | cloneDestroyedMessage = "Instantiate failed because the clone was destroyed during creation. This can happen if DestroyImmediate is called in MonoBehaviour.Awake." |
Definition at line 17 of file Texture2D.cs.