TazGraph Project v0.1.0
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PlaneModelRenderer Class Reference
Inheritance diagram for PlaneModelRenderer:
Inheritance graph
[legend]
Collaboration diagram for PlaneModelRenderer:
Collaboration graph
[legend]

Public Member Functions

void init ()
 
void begin ()
 
void end ()
 
void initBatchSize ()
 
void drawTriangle (size_t v_index, const glm::vec3 &triangleOffset, const glm::vec3 &mRotation, const glm::vec2 &uv1, const glm::vec2 &uv2, const glm::vec2 &uv3, GLuint texture)
 
void draw (size_t v_index, const glm::vec2 &rectSize, const glm::vec3 &bodyCenter, const glm::vec3 &mRotation, const glm::vec4 &uvRect, GLuint texture)
 
void renderBatch (GLSLProgram *glsl_program)
 
void dispose ()
 
- Public Member Functions inherited from PlaneRenderer
void init ()
 
void begin ()
 
void end ()
 
void initTriangleBatch (size_t mSize)
 
void initQuadBatch (size_t mSize)
 
void initBoxBatch (size_t mSize)
 
void initSphereBatch (size_t mSize)
 
void createRenderBatches ()
 

Additional Inherited Members

- Public Attributes inherited from PlaneRenderer
GLuint _vboInstances
 
size_t _glyphs_size = 0
 
size_t _triangleGlyphs_size = 0
 
size_t _boxGlyphs_size = 0
 
size_t _sphereGlyphs_size = 0
 

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