raylibstarter 0.1.0
|
A central place for graphics and rendering oriented functions. More...
#include <renderer.h>
Static Public Member Functions | |
static void | DrawTexture (const std::shared_ptr< game::core::Sprite > &sprite) |
Draw a sprite to the screen. Oriented to the size, position and rotation angle of the sprite object. The method draws the texture of the sprite in any case - even if its visibility attribute is set to false. More... | |
A central place for graphics and rendering oriented functions.
Definition at line 12 of file renderer.h.
|
static |
Draw a sprite to the screen. Oriented to the size, position and rotation angle of the sprite object. The method draws the texture of the sprite in any case - even if its visibility attribute is set to false.
sprite | Sprite object to be drawn. |
Definition at line 5 of file renderer.cpp.