Method | Description | |
---|---|---|
Add ( |
Adds a clipped or stretched version of the texture to the batcher, with the specified color.
|
|
Add ( |
Adds a clipped or stretched version of the texture to the batcher, with the specified color.
|
|
Add ( |
Add a pre-transformed texture to the batcher.
|
|
Add ( |
Adds the texture to the batcher, drawn at the (x, y) location.
|
|
Add ( |
Adds the texture to the batcher, drawn at the (x, y) location with the specified color.
|
|
Add ( |
Adds a rotated image to the batcher.
|
|
AddVerts ( |
Adds verts to the batcher, must be a quad (for now).
|
|
Flush ( ) : void |
Renders it all to screen, clearing out it's current buffer.
|
|
SetBlendMode ( BlendMode mode ) : void |
Sets the batcher to use the specified blend mode.
|
|
SpriteBatch ( RenderTarget target ) : System |
Method | Description | |
---|---|---|
Flush ( PrimitiveType type ) : void | ||
Flush ( |
||
RotateX ( float x, float y, float cos, float sin ) : float | ||
RotateY ( float x, float y, float cos, float sin ) : float |
public Add ( |
||
tex | ||
source | FloatRect | |
dest | FloatRect | |
color | System.Color | |
return | void |
public Add ( |
||
tex | ||
source | IntRect | |
dest | FloatRect | |
color | System.Color | |
return | void |
public Add ( |
||
tex | ||
transform | ||
return | void |
public Add ( |
||
tex | ||
x | float | |
y | float | |
return | void |
public Add ( |
||
tex | ||
x | float | |
y | float | |
color | System.Color | |
return | void |
public Add ( |
||
tex | ||
x | float | |
y | float | |
color | System.Color | |
r | double | |
return | void |
public AddVerts ( |
||
verts | ||
count | int | |
type | PrimitiveType | |
return | void |
public SetBlendMode ( BlendMode mode ) : void | ||
mode | BlendMode | |
return | void |
public SpriteBatch ( RenderTarget target ) : System | ||
target | RenderTarget | |
return | System |