|
TazGraph Project v0.1.0
|


Public Member Functions | |
| void | init () |
| void | begin () |
| void | end () |
| void | initBatch (Taz::RenderBatch &batch) |
| void | drawLine (size_t v_index, const glm::vec3 srcPosition, const glm::vec3 destPosition, const TazColor &srcColor, const TazColor &destColor, const float width=5.0f) |
| void | drawRectangle (size_t v_index, const glm::vec2 &rectSize, const glm::vec3 &position, const TazColor &color, const glm::vec3 &mRotation=glm::vec3(0), const float width=5.0f) |
| void | drawBox (size_t v_index, const glm::vec3 &rectSize, const glm::vec3 &position, const TazColor &color, const glm::vec3 &mRotation=glm::vec3(0), const float width=5.0f) |
| void | drawSphere (size_t v_index, const glm::vec3 &rectSize, const glm::vec3 &position, const TazColor &color, const glm::vec3 &mRotation, const float width) |
| void | drawCircle (const glm::vec2 ¢er, const TazColor &color, float radius) |
| void | endBatch (const Taz::RenderBatch &batch) |
| void | dispose () |
Public Attributes | |
| const char * | VERT_SRC |
| const char * | FRAG_SRC |
| int | box_edgePairs [12][2] |
| std::vector< TazPosition > | sphereVertices |
| std::vector< GLuint > | sphereIndices |
Public Attributes inherited from Taz::Renderer | |
| GLuint | _vboInstances |
| size_t | currentBatchIndex = 0 |
|
virtual |
Reimplemented from Taz::Renderer.
|
virtual |
Implements Taz::Renderer.
|
virtual |
Reimplemented from Taz::Renderer.
| int LineRenderer::box_edgePairs[12][2] |
| const char* LineRenderer::FRAG_SRC |
| std::vector<GLuint> LineRenderer::sphereIndices |
| std::vector<TazPosition> LineRenderer::sphereVertices |
| const char* LineRenderer::VERT_SRC |