#include <drawable_object.h>
Definition at line 27 of file drawable_object.h.
◆ DrawableObject() [1/2]
tango_gl::DrawableObject::DrawableObject |
( |
| ) |
|
|
inline |
◆ DrawableObject() [2/2]
tango_gl::DrawableObject::DrawableObject |
( |
const DrawableObject & |
other | ) |
|
|
delete |
◆ DeleteGlResources()
void tango_gl::DrawableObject::DeleteGlResources |
( |
| ) |
|
◆ operator=()
◆ Render()
virtual void tango_gl::DrawableObject::Render |
( |
const glm::mat4 & |
projection_mat, |
|
|
const glm::mat4 & |
view_mat |
|
) |
| const |
|
pure virtual |
◆ SetAlpha()
void tango_gl::DrawableObject::SetAlpha |
( |
const float |
alpha | ) |
|
◆ SetColor() [1/2]
void tango_gl::DrawableObject::SetColor |
( |
const Color & |
color | ) |
|
◆ SetColor() [2/2]
void tango_gl::DrawableObject::SetColor |
( |
const float |
red, |
|
|
const float |
green, |
|
|
const float |
blue |
|
) |
| |
◆ SetShader()
void tango_gl::DrawableObject::SetShader |
( |
| ) |
|
◆ SetVertices() [1/3]
void tango_gl::DrawableObject::SetVertices |
( |
const std::vector< GLfloat > & |
vertices | ) |
|
◆ SetVertices() [2/3]
void tango_gl::DrawableObject::SetVertices |
( |
const std::vector< GLfloat > & |
vertices, |
|
|
const std::vector< GLushort > & |
indices |
|
) |
| |
◆ SetVertices() [3/3]
void tango_gl::DrawableObject::SetVertices |
( |
const std::vector< GLfloat > & |
vertices, |
|
|
const std::vector< GLfloat > & |
normals |
|
) |
| |
◆ alpha_
float tango_gl::DrawableObject::alpha_ |
|
protected |
◆ attrib_normals_
GLuint tango_gl::DrawableObject::attrib_normals_ |
|
protected |
◆ attrib_vertices_
GLuint tango_gl::DrawableObject::attrib_vertices_ |
|
protected |
◆ blue_
float tango_gl::DrawableObject::blue_ |
|
protected |
◆ green_
float tango_gl::DrawableObject::green_ |
|
protected |
◆ indices_
std::vector<GLushort> tango_gl::DrawableObject::indices_ |
|
protected |
◆ normals_
std::vector<GLfloat> tango_gl::DrawableObject::normals_ |
|
protected |
◆ red_
float tango_gl::DrawableObject::red_ |
|
protected |
◆ render_mode_
GLenum tango_gl::DrawableObject::render_mode_ |
|
protected |
◆ shader_program_
GLuint tango_gl::DrawableObject::shader_program_ |
|
protected |
◆ uniform_color_
GLuint tango_gl::DrawableObject::uniform_color_ |
|
protected |
◆ uniform_mvp_mat_
GLuint tango_gl::DrawableObject::uniform_mvp_mat_ |
|
protected |
◆ vertices_
std::vector<GLfloat> tango_gl::DrawableObject::vertices_ |
|
protected |
The documentation for this class was generated from the following files: