C# 클래스 Terraria.Graphics.TileBatch

파일 보기 프로젝트 열기: EmuDevs/EDTerraria 1 사용 예제들

공개 메소드들

메소드 설명
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