Jypeli 4
The simple game programming library
|
Draws simple shapes efficiently. Draw() calls should be made only between Begin() and End() calls. Other drawing operations can be done between Begin() and End(). Lisää...
Julkiset jäsenfunktiot | |
void | Initialize () |
void | Begin (ref Matrix matrix) |
void | End () |
void | Draw (Vector[] vertices, Int16[] indices, Color color, Vector2 position, Vector2 size, float angle) |
Julkiset attribuutit | |
bool | LightingEnabled = true |
Draws simple shapes efficiently. Draw() calls should be made only between Begin() and End() calls. Other drawing operations can be done between Begin() and End().
The shapes are added to a buffer. Only when the buffer is full, a draw call is made to the graphics device.