|
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
|
Collaboration diagram for Microsoft.Xna.Framework.Graphics.SpriteBatcher:Classes | |
| struct | VertexData |
Public Member Functions | |
| SpriteBatcher (GraphicsDevice device) | |
| SpriteBatchItem | CreateBatchItem () |
| void | GetBatchItemList (int id, out SpriteBatchItemList result) |
| void | CreateBatchItemList (out SpriteBatchItemList item) |
| void | DrawImmediateBatch (Effect effect) |
| void | FlushBatches () |
| void | DrawBatch (SpriteSortMode sortMode, Effect effect, bool overloadTranform, bool deffered, SpriteBatchItem overrideFirstItem=null) |
Public Attributes | |
| SpriteBatchItem[] | _batchItemList |
| int | _batchItemCount |
| int | _lastBatchListId |
| SpriteBatchItemList | _lastBatchList |
| Dictionary< int, SpriteBatchItemList > | _activeBatchLists |
Properties | |
| int | BatchCount [get, set] |
Private Member Functions | |
| void | InitialiseIndexBuffer () |
| void | RenderVertexArray (Effect effect, Texture2D texture, EffectPass overloadEffectPass, Vector3 position, Vector3 scale) |
| void | AddSubMesh (Effect effect, Texture2D texture, EffectPass overloadEffectPass) |
| void | RenderVertexArrayWithSubMeshes (int vertexCount, int indexCount, Vector3 position, Vector3 scale) |
| void | RenderVertexArray2 (Effect effect, Texture2D texture, EffectPass overloadEffectPass, int vertexCount, int indexCount, Vector3 position, Vector3 scale) |
Static Private Member Functions | |
| static | SpriteBatcher () |
Private Attributes | |
| SpriteBatchItemList[] | _batchItemListList |
| int | _batchItemListCount |
| readonly GraphicsDevice | _device |
| int | _vertexOffset |
| int | _indexOffset |
| int | _materialOffset |
| SpriteBatcher.VertexData[] | vertexData |
| short[] | indexData |
| List< Vector3 > | _positions |
| List< Vector2 > | _uvs |
| List< Vector4 > | _uv2s |
| List< Color32 > | _colours |
| List< int > | _indices |
| List< Material > | _immediateMaterials |
| List< int > | _immediateMaterialsOffsets |
| List< SubMeshDescriptor > | _submeshList |
| List< Material > | _submeshListMaterials |
Static Private Attributes | |
| const int | InitialBatchSize = 256 |
| const int | MaxBatchSize = 5461 |
| const int | InitialVertexArraySize = 256 |
| const int | maxQuadCount = 8192 |
| const int | maxVerts = 32768 |
| const int | maxIndices = 49152 |
| static VertexAttributeDescriptor[] | vertexDescription |
Definition at line 15 of file SpriteBatcher.cs.