#include <quad.h>
Public Member Functions | |
Quad & | operator= (const Quad &) |
Quad () | |
Quad (const Quad &other) | |
void | Render (const glm::mat4 &projection_mat, const glm::mat4 &view_mat) const |
void | SetTextureId (GLuint texture_id) |
~Quad () | |
Private Attributes | |
GLuint | attrib_vertices_ |
GLuint | shader_program_ |
GLuint | texture_coords_ |
GLuint | texture_handle |
GLuint | texture_id_ |
GLuint | uniform_mvp_mat_ |
GLuint | vertex_buffer_ |
tango_gl::Quad::Quad | ( | const Quad & | other | ) |
void tango_gl::Quad::Render | ( | const glm::mat4 & | projection_mat, |
const glm::mat4 & | view_mat | ||
) | const [virtual] |
Implements tango_gl::DrawableObject.
void tango_gl::Quad::SetTextureId | ( | GLuint | texture_id | ) |
GLuint tango_gl::Quad::attrib_vertices_ [private] |
Reimplemented from tango_gl::DrawableObject.
GLuint tango_gl::Quad::shader_program_ [private] |
Reimplemented from tango_gl::DrawableObject.
GLuint tango_gl::Quad::texture_coords_ [private] |
GLuint tango_gl::Quad::texture_handle [private] |
GLuint tango_gl::Quad::texture_id_ [private] |
GLuint tango_gl::Quad::uniform_mvp_mat_ [private] |
Reimplemented from tango_gl::DrawableObject.
GLuint tango_gl::Quad::vertex_buffer_ [private] |