|
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
|
Inheritance diagram for Microsoft.Xna.Framework.Graphics.Texture2D:
Collaboration diagram for Microsoft.Xna.Framework.Graphics.Texture2D:Public Member Functions | |
| void | ResetLoaded () |
| void | RefreshAtlasTexture () |
| void | RefreshBatchIndex () |
| Texture2D (string sourceAsset, int width, int height) | |
| Texture2D (Texture2D texture) | |
| Texture2D (RenderTexture texture) | |
| Texture2D (Texture2D texture, Texture2D texture2) | |
| Texture2D (Texture2D texture, Texture2D texture2, Texture2D texture3) | |
| Texture2D (Texture2D texture, TextureAtlasEntry entry) | |
| Texture2D (TextureAtlasDB textureAtlas, TextureAtlasEntry entry) | |
| Texture2D (GraphicsDevice device, int width, int height) | |
| Texture2D (GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format) | |
| Texture2D (GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, int arraySize) | |
| void | SaveAsPng (Stream stream, int width, int height) |
| void | SetData< T > (T[] data, int start, int length) |
| delegate Texture2D | TextureLoader (int data) |
| void | Dispose () |
| override string | ToString () |
Static Public Member Functions | |
| static int | GetBatchId () |
Public Attributes | |
| int | UnityWidth |
| int | UnityHeight |
| readonly int | Width |
| readonly int | Height |
| float | TextureOffsetScale |
| bool | SharedBatching |
| bool | NonSharedHeadInsert |
| TextureAtlasEntry | PackedEntry |
| TextureAtlasDB | _textureAtlas |
| int | BatchTextureIndex |
Static Public Attributes | |
| static bool | ignoreLoad |
Protected Member Functions | |
| Texture2D (GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, Texture2D.SurfaceType type, bool shared, int arraySize) | |
Package Types | |
| enum | SurfaceType { Texture , RenderTarget , SwapChainRenderTarget } |
Package Functions | |
| Texture2D (GraphicsDevice device, int width, int height, bool mipmap, SurfaceFormat format, Texture2D.SurfaceType type) | |
| int | GetPitch (int width) |
| override void | GraphicsDeviceResetting () |
Static Package Functions | |
| static int | CalculateMipLevels (int width, int height=0, int depth=0) |
| static void | GetSizeForLevel (int width, int height, int level, out int w, out int h) |
| static void | GetSizeForLevel (int width, int height, int depth, int level, out int w, out int h, out int d) |
Package Attributes | |
| int | ArraySize |
| float | TexelWidth |
| float | TexelHeight |
| SurfaceFormat | _format |
| int | _levelCount |
Properties | |
| int | UnityTextureWidth [get, set] |
| int | UnityTextureHeight [get, set] |
| Texture | UnityBindTexture [get, set] |
| Texture2D | UnityTexture [get, set] |
| Texture2D | UnityAlphaTexture [get, set] |
| Texture2D | UnityPalTexture [get, set] |
| Rectangle | Bounds [get, set] |
| int | SortingKey [get, set] |
| SurfaceFormat | Format [get, set] |
| int | LevelCount [get, set] |
| EventHandler< EventArgs > | Disposing [set] |
| GraphicsDevice | GraphicsDevice [get, set] |
| string | Name [get, set] |
| object | Tag [get, set] |
Private Member Functions | |
| void | LoadCallback (Texture2D tex0, Texture2D tex1, Texture2D tex2, int page) |
| void | LoadSourceTexture () |
| void | CreateEmptyTexture (object data) |
Static Private Member Functions | |
| static void | ConvertToABGR (int pixelHeight, int pixelWidth, int[] pixels) |
Private Attributes | |
| bool | loadRequested |
| bool | _textureLoaded |
| RenderTexture | _unityRenderTexture |
| Texture2D | _unityTexture |
| Texture2D | _unityAlphaTexture |
| Texture2D | _unityPalTexture |
| readonly int | _batchTextureIndex |
| string | _sourceLoadAsset |
| readonly int | _sortingKey |
| GraphicsDevice | graphicsDevice |
| string< Name > | k__BackingField |
| object< Tag > | k__BackingField |
Static Private Attributes | |
| static int | _nextTextureId |
| static int | _lastSortingKey |
Definition at line 18 of file Texture2D.cs.