-
-
#include <spritebatch.h>
-
-
-
-
◆ SpriteBatch() [1/3]
-
-
-
-
-
-
-
-
- yage::SpriteBatch::SpriteBatch |
- ( |
- | ) |
- |
-
-
- |
-
-default |
-
-
-
-
-
-
-
-
◆ SpriteBatch() [2/3]
-
-
-
-
-
-
-
-
- yage::SpriteBatch::SpriteBatch |
- ( |
- const SpriteBatch & |
- | ) |
- |
-
-
- |
-
-delete |
-
-
-
-
-
-
-
-
◆ SpriteBatch() [3/3]
-
-
-
-
-
-
-
-
- yage::SpriteBatch::SpriteBatch |
- ( |
- SpriteBatch && |
- | ) |
- |
-
-
- |
-
-delete |
-
-
-
-
-
-
-
-
◆ ~SpriteBatch()
-
-
-
-
-
- yage::SpriteBatch::~SpriteBatch |
- ( |
- | ) |
- |
-
-
-
-
-
-
-
-
-
◆ begin()
-
-
-
-
-
- void yage::SpriteBatch::begin |
- ( |
- | ) |
- |
-
-
-
-
-
-
-
-
◆ createRenderBatches()
-
-
-
-
-
-
-
-
- void yage::SpriteBatch::createRenderBatches |
- ( |
- | ) |
- |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
◆ createVertexArray()
-
-
-
-
-
-
-
-
- void yage::SpriteBatch::createVertexArray |
- ( |
- | ) |
- |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
◆ draw()
-
-
-
-
-
- void yage::SpriteBatch::draw |
- ( |
- const glm::vec4 & |
- destination_rect, |
-
-
- |
- |
- const glm::vec4 & |
- uv_rect, |
-
-
- |
- |
- GLuint |
- texture, |
-
-
- |
- |
- const Color & |
- color, |
-
-
- |
- |
- float |
- depth |
-
-
- |
- ) |
- | |
-
-
-
-
-
-
-
-
◆ end()
-
-
-
-
-
- void yage::SpriteBatch::end |
- ( |
- | ) |
- |
-
-
-
-
-
-
-
-
◆ init()
-
-
-
-
-
- void yage::SpriteBatch::init |
- ( |
- | ) |
- |
-
-
-
-
-
-
-
-
◆ operator=() [1/2]
-
-
-
-
◆ operator=() [2/2]
-
-
-
-
◆ render()
-
-
-
-
-
- void yage::SpriteBatch::render |
- ( |
- | ) |
- |
-
-
-
-
-
-
-
-
◆ sortGlyphs()
-
-
-
-
-
-
-
-
- void yage::SpriteBatch::sortGlyphs |
- ( |
- | ) |
- |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
-
◆ glyph_ptrs_
-
-
-
-
-
-
-
-
- std::vector<Glyph *> yage::SpriteBatch::glyph_ptrs_ |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
◆ glyphs_
-
-
-
-
-
-
-
-
- std::vector<Glyph> yage::SpriteBatch::glyphs_ |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
◆ NUM_VERTICES
-
-
-
-
-
-
-
-
- const int yage::SpriteBatch::NUM_VERTICES = 6 |
-
-
- |
-
-static |
-
-
-
-
-
-
-
-
◆ render_batches_
-
-
-
-
-
-
-
-
- std::vector<RenderBatch> yage::SpriteBatch::render_batches_ |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
◆ vao_
-
-
-
-
-
-
-
-
- GLuint yage::SpriteBatch::vao_ = 0 |
-
-
- |
-
-private |
-
-
-
-
-
-
-
-
◆ vbo_
-
-
-
-
-
-
-
-
- GLuint yage::SpriteBatch::vbo_ = 0 |
-
-
- |
-
-private |
-
-
-
-
-
-
-
The documentation for this class was generated from the following files:
-