Yet Another Game Engine
|
#include <spritebatch.h>
Public Member Functions | |
SpriteBatch () | |
SpriteBatch (const SpriteBatch &)=delete | |
SpriteBatch (SpriteBatch &&)=delete | |
~SpriteBatch () | |
SpriteBatch & | operator= (const SpriteBatch &)=delete |
SpriteBatch & | operator= (SpriteBatch &&)=delete |
void | begin () |
void | end () |
void | draw (const glm::vec4 &destination_rect, const glm::vec4 &uv_rect, GLuint texture, const Colour &colour, float depth) |
void | render () |
Static Public Attributes | |
static const int | NUM_VERTICES = 6 |
yage::SpriteBatch::SpriteBatch | ( | ) |
|
delete |
|
delete |
yage::SpriteBatch::~SpriteBatch | ( | ) |
void yage::SpriteBatch::begin | ( | ) |
void yage::SpriteBatch::draw | ( | const glm::vec4 & | destination_rect, |
const glm::vec4 & | uv_rect, | ||
GLuint | texture, | ||
const Colour & | colour, | ||
float | depth | ||
) |
void yage::SpriteBatch::end | ( | ) |
|
delete |
|
delete |
void yage::SpriteBatch::render | ( | ) |
|
static |