Yet Another Game Engine
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Static Public Attributes | List of all members
yage::SpriteBatch Class Reference

#include <spritebatch.h>

Public Member Functions

 SpriteBatch ()
 
 SpriteBatch (const SpriteBatch &)=delete
 
 SpriteBatch (SpriteBatch &&)=delete
 
 ~SpriteBatch ()
 
SpriteBatchoperator= (const SpriteBatch &)=delete
 
SpriteBatchoperator= (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
 

Constructor & Destructor Documentation

yage::SpriteBatch::SpriteBatch ( )
yage::SpriteBatch::SpriteBatch ( const SpriteBatch )
delete
yage::SpriteBatch::SpriteBatch ( SpriteBatch &&  )
delete
yage::SpriteBatch::~SpriteBatch ( )

Member Function Documentation

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 ( )
SpriteBatch& yage::SpriteBatch::operator= ( const SpriteBatch )
delete
SpriteBatch& yage::SpriteBatch::operator= ( SpriteBatch &&  )
delete
void yage::SpriteBatch::render ( )

Member Data Documentation

const int yage::SpriteBatch::NUM_VERTICES = 6
static

The documentation for this class was generated from the following files: