|
Shift
|
Helper class for drawing sprites in one or more optimized batches. More...
Public Member Functions | |
| SpriteBatch (int capacity=1000) | |
| void | Begin () |
| Begins a new sprite batch. More... | |
| void | Draw (Texture texture, Vector2 position) |
| void | End () |
| Ends batching and flushes batches to GPU. More... | |
Helper class for drawing sprites in one or more optimized batches.
Definition at line 16 of file SpriteBatch.cs.
|
inline |
Definition at line 41 of file SpriteBatch.cs.
|
inline |
Begins a new sprite batch.
Definition at line 56 of file SpriteBatch.cs.
Definition at line 66 of file SpriteBatch.cs.
|
inline |
Ends batching and flushes batches to GPU.
Definition at line 89 of file SpriteBatch.cs.