C# 클래스 RekdEngine.Render.SpriteBatch

파일 보기 프로젝트 열기: Naronco/Rekd-Sharp 1 사용 예제들

공개 메소드들

메소드 설명
Begin ( Color clear ) : void
Draw ( Texture2D texture, Rectangle size, Color color ) : void
Draw ( Texture2D texture, Vector2f position, Color color ) : void
DrawPrimitive ( Rectangle r ) : void
End ( ) : void
SpriteBatch ( SharpDX.Direct3D9.Device d, ContentManager c ) : System

메소드 상세

Begin() 공개 메소드

public Begin ( Color clear ) : void
clear Color
리턴 void

Draw() 공개 메소드

public Draw ( Texture2D texture, Rectangle size, Color color ) : void
texture RekdEngine.Content.Texture2D
size RekdEngine.UtilMath.Rectangle
color Color
리턴 void

Draw() 공개 메소드

public Draw ( Texture2D texture, Vector2f position, Color color ) : void
texture RekdEngine.Content.Texture2D
position RekdEngine.UtilMath.Vector2f
color Color
리턴 void

DrawPrimitive() 공개 메소드

public DrawPrimitive ( Rectangle r ) : void
r RekdEngine.UtilMath.Rectangle
리턴 void

End() 공개 메소드

public End ( ) : void
리턴 void

SpriteBatch() 공개 메소드

public SpriteBatch ( SharpDX.Direct3D9.Device d, ContentManager c ) : System
d SharpDX.Direct3D9.Device
c ContentManager
리턴 System