JNGL
Easy to use cross-platform 2D game library
|
While this object is alive, don't do any other draw calls. Should never outlive its Sprite. More...
#include <jngl/sprite.hpp>
Public Member Functions | |
Batch (std::unique_ptr< Impl >) | |
Batch (Batch &&)=default | |
Batch & | operator= (Batch &&)=default |
Batch (const Batch &)=delete | |
Batch & | operator= (const Batch &)=delete |
void | draw (Mat3 modelview) const |
Draws the Sprite which created this Batch centered using modelview. | |
Friends | |
class | Sprite |
While this object is alive, don't do any other draw calls. Should never outlive its Sprite.
Definition at line 140 of file sprite.hpp.
|
friend |
Definition at line 143 of file sprite.hpp.