terraria-cpp2il-methodrecon v1.4.4.9
Terraria mobile dump, with reconstructed method body. Dump with CallAnalysis: https://infinitynichto.github.io/terraria-cpp2il
|
Classes | |
class | TextureLoader |
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) |
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] |
int | UnityTextureHeight [get] |
Texture | UnityBindTexture [get] |
Texture2D | UnityTexture [get] |
Texture2D | UnityAlphaTexture [get] |
Texture2D | UnityPalTexture [get] |
Rectangle | Bounds [get] |
int | SortingKey [get] |
SurfaceFormat | Format [get] |
int | LevelCount [get] |
EventHandler< EventArgs > | Disposing |
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 9 of file Texture2D.cs.