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
|
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 | |
RenderTarget2D (GraphicsDevice device, int width, int height, bool mipMap, SurfaceFormat format, DepthFormat depthFormat, int preferredMultiSampleCount, RenderTargetUsage usage, Texture2D.SurfaceType surfaceType) | |
Package Types | |
enum | SurfaceType { Texture , RenderTarget , SwapChainRenderTarget } |
Package Functions | |
override void | GraphicsDeviceResetting () |
int | GetPitch (int width) |
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 | |
DepthFormat | DepthStencilFormat [get, set, private set] |
int | MultiSampleCount [get, set, private set] |
RenderTargetUsage | RenderTargetUsage [get, set, private set] |
bool | IsContentLost [get, set] |
EventHandler< EventArgs > | ContentLost [set] |
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 | |
bool | SuppressEventHandlerWarningsUntilEventsAreProperlyImplemented () |
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) |
Static Private Attributes | |
static int | _nextTextureId |
static int | _lastSortingKey |
Definition at line 10 of file RenderTarget2D.cs.