C# Class Californium.SpriteBatch

Show file Open project: DatZach/HumanityAgainstCards

Private Properties

Property Type Description

Public Methods

Method Description
Begin ( ) : void
Draw ( AnimatedSprite sprite, int depth ) : 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 ( AnimatedSprite sprite, int depth ) : void
sprite AnimatedSprite
depth int
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