From ce45c560586f991b427471ba206edf48881baab5 Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Fri, 22 Sep 2017 00:09:02 +0000 Subject: Rebuilding documentation --- classyage_1_1SpriteBatch.html | 620 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 620 insertions(+) create mode 100644 classyage_1_1SpriteBatch.html (limited to 'classyage_1_1SpriteBatch.html') diff --git a/classyage_1_1SpriteBatch.html b/classyage_1_1SpriteBatch.html new file mode 100644 index 00000000..5505d1a3 --- /dev/null +++ b/classyage_1_1SpriteBatch.html @@ -0,0 +1,620 @@ + + + + + + +YAGE: yage::SpriteBatch Class Reference + + + + + + + + + + + + + +
+
+ + + + + + +
+
YAGE +  v0.1.1 +
+
Yet Another Game Engine
+
+
+ + + + + +
+
+ +
+
+
+ +
+ +
+ All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
+ + +
+ +
+ +
+ +
+
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 init ()
 
void begin ()
 
void end ()
 
void draw (const glm::vec4 &destination_rect, const glm::vec4 &uv_rect, GLuint texture, const Color &color, float depth)
 
void render ()
 
+ + + +

+Static Public Attributes

static const int NUM_VERTICES = 6
 
+ + + + + + + +

+Private Member Functions

void createVertexArray ()
 
void createRenderBatches ()
 
void sortGlyphs ()
 
+ + + + + + + + + + + +

+Private Attributes

GLuint vbo_ = 0
 
GLuint vao_ = 0
 
std::vector< Glyphglyphs_
 
std::vector< Glyph * > glyph_ptrs_
 
std::vector< RenderBatchrender_batches_
 
+

Constructor & Destructor Documentation

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

Member Function Documentation

+ +
+
+ + + + + + + +
void yage::SpriteBatch::begin ()
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void yage::SpriteBatch::createRenderBatches ()
+
+private
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void yage::SpriteBatch::createVertexArray ()
+
+private
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
void yage::SpriteBatch::draw (const glm::vec4 & destination_rect,
const glm::vec4 & uv_rect,
GLuint texture,
const Colorcolor,
float depth 
)
+
+ +
+
+ +
+
+ + + + + + + +
void yage::SpriteBatch::end ()
+
+ +
+
+ +
+
+ + + + + + + +
void yage::SpriteBatch::init ()
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
SpriteBatch& yage::SpriteBatch::operator= (const SpriteBatch)
+
+delete
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + + +
SpriteBatch& yage::SpriteBatch::operator= (SpriteBatch && )
+
+delete
+
+ +
+
+ +
+
+ + + + + + + +
void yage::SpriteBatch::render ()
+
+ +
+
+ +
+
+ + + + + +
+ + + + + + + +
void yage::SpriteBatch::sortGlyphs ()
+
+private
+
+ +
+
+

Member Data Documentation

+ +
+
+ + + + + +
+ + + + +
std::vector<Glyph *> yage::SpriteBatch::glyph_ptrs_
+
+private
+
+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<Glyph> yage::SpriteBatch::glyphs_
+
+private
+
+ +
+
+ +
+
+ + + + + +
+ + + + +
const int yage::SpriteBatch::NUM_VERTICES = 6
+
+static
+
+ +
+
+ +
+
+ + + + + +
+ + + + +
std::vector<RenderBatch> yage::SpriteBatch::render_batches_
+
+private
+
+ +
+
+ +
+
+ + + + + +
+ + + + +
GLuint yage::SpriteBatch::vao_ = 0
+
+private
+
+ +
+
+ +
+
+ + + + + +
+ + + + +
GLuint yage::SpriteBatch::vbo_ = 0
+
+private
+
+ +
+
+
The documentation for this class was generated from the following files: +
+
+ + + + -- cgit