C# Класс Terraria.Graphics.TileBatch

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
Begin ( ) : void
Dispose ( ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle destinationRectangle, Rectangle sourceRectangle, VertexColors colors ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Rectangle sourceRectangle, VertexColors colors, Vector2 origin, float scale, SpriteEffects effects ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, VertexColors colors ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, VertexColors colors, Vector2 scale ) : void
Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector4 destination, VertexColors colors ) : void
End ( ) : void
TileBatch ( GraphicsDevice g ) : Microsoft.Xna.Framework

Приватные методы

Метод Описание
Allocate ( ) : void
CreateIndexData ( ) : short[]
Flush ( ) : void
FlushRenderState ( ) : void
InternalDraw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector4 &destination, bool scaleDestination, Rectangle &sourceRectangle, VertexColors &colors, Vector2 &origin, SpriteEffects effects ) : void
RenderBatch ( Microsoft.Xna.Framework.Graphics.Texture2D texture, SpriteData sprites, int offset, int count ) : void
TileBatch ( ) : Microsoft.Xna.Framework

Описание методов

Begin() публичный Метод

public Begin ( ) : void
Результат void

Dispose() публичный Метод

public Dispose ( ) : void
Результат void

Draw() публичный Метод

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Rectangle destinationRectangle, Rectangle sourceRectangle, VertexColors colors ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
destinationRectangle Microsoft.Xna.Framework.Rectangle
sourceRectangle Microsoft.Xna.Framework.Rectangle
colors VertexColors
Результат void

Draw() публичный Метод

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, Rectangle sourceRectangle, VertexColors colors, Vector2 origin, float scale, SpriteEffects effects ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
sourceRectangle Microsoft.Xna.Framework.Rectangle
colors VertexColors
origin Vector2
scale float
effects SpriteEffects
Результат void

Draw() публичный Метод

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, VertexColors colors ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
colors VertexColors
Результат void

Draw() публичный Метод

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector2 position, VertexColors colors, Vector2 scale ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
position Vector2
colors VertexColors
scale Vector2
Результат void

Draw() публичный Метод

public Draw ( Microsoft.Xna.Framework.Graphics.Texture2D texture, Vector4 destination, VertexColors colors ) : void
texture Microsoft.Xna.Framework.Graphics.Texture2D
destination Vector4
colors VertexColors
Результат void

End() публичный Метод

public End ( ) : void
Результат void

TileBatch() публичный Метод

public TileBatch ( GraphicsDevice g ) : Microsoft.Xna.Framework
g GraphicsDevice
Результат Microsoft.Xna.Framework