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
Loading...
Searching...
No Matches
Microsoft.Xna.Framework.Graphics.SpriteBatch Class Reference
+ Inheritance diagram for Microsoft.Xna.Framework.Graphics.SpriteBatch:
+ Collaboration diagram for Microsoft.Xna.Framework.Graphics.SpriteBatch:

Public Member Functions

 SpriteBatch (GraphicsDevice graphicsDevice)
 
void Begin (SpriteSortMode sortMode, bool useTransformMatrix, bool defferedBatch)
 
void Begin (SpriteSortMode sortMode=SpriteSortMode.Deferred, BlendState blendState=null, SamplerState samplerState=null, DepthStencilState depthStencilState=null, RasterizerState rasterizerState=null, Effect effect=null, Matrix? transformMatrix=null, bool defferedBatch=true)
 
void End ()
 
void Flush ()
 
void Draw (Texture2D texture, Vector2? position=null, Rectangle? destinationRectangle=null, Rectangle? sourceRectangle=null, Vector2? origin=null, float rotation=0f, Vector2? scale=null, Color? color=null, SpriteEffects effects=SpriteEffects.None, float layerDepth=0f)
 
void Draw (Texture2D texture, Vector2? position, Rectangle? destinationRectangle, Rectangle? sourceRectangle, Vector2? origin, float rotation, Vector2? scale, ref VertexColors color, SpriteEffects effects=SpriteEffects.None, float layerDepth=0f)
 
SpriteBatchItem InsertNewBatchItem (Texture2D texture)
 
void Draw (Texture2D texture, ref Vector2 position, ref Rectangle srcRect, ref Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects=SpriteEffects.None)
 
void Draw (Texture2D texture, ref Vector2 position, ref Rectangle srcRect, ref Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects=SpriteEffects.None)
 
void Draw (Texture2D texture, ref Vector2 position, ref Rectangle srcRect, ref Color color, float rotation, Vector2 origin, float scale)
 
void Draw (Texture2D texture, ref Vector2 position, ref Color color, float rotation, Vector2 origin, float scale)
 
void Draw (Texture2D texture, Vector2 position, Rectangle? sourceRectangle, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void Draw (Texture2D texture, Vector2 position, ref Rectangle srcRect, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void Draw (Texture2D texture, Vector2 position, Rectangle? sourceRectangle, ref VertexColors color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void Draw (Texture2D texture, Vector2 position, ref Rectangle srcRect, ref VertexColors color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void Draw (Texture2D texture, Vector2 position, ref Rectangle srcRect, ref VertexColors color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth)
 
void Draw (Texture2D texture, Vector2 position, Rectangle? sourceRectangle, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth=0f)
 
void Draw (Texture2D texture, ref Vector2 position, ref Rectangle srcRect, ref Color color)
 
void Draw (Texture2D texture, ref Vector2 position, ref Rectangle srcRect, ref VertexColors color)
 
void Draw (Texture2D texture, ref Vector2 position, ref Rectangle srcRect, ref Color color, SpriteEffects effects)
 
void Draw (Texture2D texture, ref Vector2 position, ref Rectangle srcRect, ref VertexColors color, SpriteEffects effects)
 
void Draw (Texture2D texture, Vector2 position, ref Rectangle srcRect, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth=0f)
 
void Draw (Texture2D texture, Vector2 position, Rectangle? sourceRectangle, ref VertexColors color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth=0f)
 
void Draw (Texture2D texture, Rectangle destinationRectangle, Rectangle? sourceRectangle, Color color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth)
 
void Draw (Texture2D texture, Rectangle destinationRectangle, Rectangle? sourceRectangle, ref VertexColors color, float rotation, Vector2 origin, SpriteEffects effects, float layerDepth)
 
void Draw (Texture2D texture, Vector2 position, Rectangle? sourceRectangle, Color color)
 
void Draw (Texture2D texture, Vector2 position, Rectangle? sourceRectangle, ref VertexColors color)
 
void Draw (Texture2D texture, Rectangle destinationRectangle, Rectangle? sourceRectangle, Color color)
 
void Draw (Texture2D texture, Vector2 position, Color color)
 
void Draw (Texture2D texture, Rectangle destinationRectangle, Color color)
 
void DrawString (SpriteFont spriteFont, string text, Vector2 position, Color color)
 
void DrawString (SpriteFont spriteFont, StringBuilder text, Vector2 position, Color color)
 
void DrawString (SpriteFont spriteFont, string text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth)
 
void DrawString (SpriteFont spriteFont, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, float scale, SpriteEffects effects, float layerDepth)
 
void DrawString (SpriteFont spriteFont, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void DrawStringMultiLineRight (SpriteFont spriteFont, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void DrawStringMultiLineCentre (SpriteFont spriteFont, string text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void DrawString (SpriteFont spriteFont, StringBuilder text, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void DrawString (SpriteFont spriteFont, string text, int start, int end, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, Vector2[] offsets)
 
void DrawString (SpriteFont spriteFont, StringBuilder text, int start, int end, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, Vector2[] offsets)
 
void DrawString (SpriteFont spriteFont, string text, int start, int end, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void DrawString (SpriteFont spriteFont, StringBuilder text, int start, int end, Vector2 position, Color color, float rotation, Vector2 origin, Vector2 scale, SpriteEffects effects, float layerDepth)
 
void Dispose ()
 
override string ToString ()
 

Static Public Member Functions

static void ForceDrawScale (float scale, Vector2 origin, Vector2 position)
 
static void ClearDrawScale ()
 
static void TransformPosition (ref Vector2 position, ref Vector2 scale)
 

Public Attributes

bool BatchDeffered
 
bool BatchDefferedHeadInsert
 
bool _beginCalled
 
EffectPass OverloadedEffectPass
 

Static Public Attributes

static string LastBeginCall
 
static bool forceDrawScale
 
static Vector2 forcedDrawScale
 
static Vector2 forcedDrawOrigin
 
static Vector2 forcedDrawPosition
 

Package Functions

void FlushIfNeeded ()
 
virtual void GraphicsDeviceResetting ()
 

Static Package Attributes

static bool NeedsHalfPixelOffset
 

Properties

EventHandler< EventArgsDisposing [set]
 
GraphicsDevice GraphicsDevice [get, set]
 
string Name [get, set]
 
object Tag [get, set]
 

Private Member Functions

void Setup ()
 
void CheckValid (Texture2D texture)
 
void CheckValid (SpriteFont spriteFont, string text)
 
void CheckValid (SpriteFont spriteFont, StringBuilder text)
 

Static Private Member Functions

static SpriteBatch ()
 

Private Attributes

readonly SpriteBatcher _batcher
 
SpriteSortMode _sortMode
 
BlendState _blendState
 
DepthStencilState _depthStencilState
 
RasterizerState _rasterizerState
 
Effect _effect
 
int _batchOffset
 
SpriteBatchItem _lastBatchItem
 
SpriteBatchItemList _firstBatchList
 
SpriteBatchItemList _lastBatchList
 
Effect _spriteEffect
 
readonly EffectPass _spritePass
 
Matrix _renderMatrix
 
bool _hasMatrix
 
Viewport _lastViewport
 
Matrix _projection
 
Rectangle _tempRect
 
Vector2 _texCoordTL
 
Vector2 _texCoordBR
 
GraphicsDevice graphicsDevice
 
string< Namek__BackingField
 
object< Tagk__BackingField
 

Static Private Attributes

static List< float > rightLineLengths
 
static List< int > rightLineOffsets
 
static List< SpriteBatchItemrightLineElements
 

Detailed Description

Definition at line 42 of file SpriteBatch.cs.


The documentation for this class was generated from the following file: