C# Class OpenEmpires.SpriteBatch

ファイルを表示 Open project: HandsomeMatt/OpenEmpires

Private Properties

Property Type Description

Public Methods

Method Description
Begin ( ) : void
Draw ( BatchedSprite sprite, int depth ) : void
End ( RenderTarget rt, RenderStates states, bool depthSort = false ) : void
SpriteBatch ( ) : System
WriteQuad ( int offset, Vector2f position, IntRect rect, System.Color color, Vector2f scale, Vector2f origin, float rotation ) : void

Method Details

Begin() public method

public Begin ( ) : void
return void

Draw() public method

public Draw ( BatchedSprite sprite, int depth ) : void
sprite BatchedSprite
depth int
return void

End() public method

public End ( RenderTarget rt, RenderStates states, bool depthSort = false ) : void
rt RenderTarget
states SFML.Graphics.RenderStates
depthSort bool
return void

SpriteBatch() public method

public SpriteBatch ( ) : System
return System

WriteQuad() public method

public WriteQuad ( int offset, Vector2f position, IntRect rect, System.Color color, Vector2f scale, Vector2f origin, float rotation ) : void
offset int
position Vector2f
rect IntRect
color System.Color
scale Vector2f
origin Vector2f
rotation float
return void