chrono::opengl::ChOpenGLObject Class Referenceabstract
Description
Base class for all drawable objects.
#include <ChOpenGLObject.h>
Inheritance diagram for chrono::opengl::ChOpenGLObject:
![Inheritance graph](classchrono_1_1opengl_1_1_ch_open_g_l_object__inherit__graph.png)
Collaboration diagram for chrono::opengl::ChOpenGLObject:
![Collaboration graph](classchrono_1_1opengl_1_1_ch_open_g_l_object__coll__graph.png)
Public Member Functions | |
bool | Initialize () |
bool | PostGLInitialize (const GLvoid *ptr, GLsizeiptr size) |
void | AttachShader (ChOpenGLShader *new_shader) |
virtual void | TakeDown () override |
virtual void | Draw (const glm::mat4 &projection, const glm::mat4 &modelview)=0 |
![]() | |
bool | GLReturnedError (const char *s) |
Protected Attributes | |
GLuint | vertex_array_handle |
GLuint | vertex_data_handle |
GLuint | vertex_element_handle |
GLuint | vertex_ambient_handle |
GLuint | vertex_diffuse_handle |
GLuint | vertex_specular_handle |
GLuint | vertex_model_handle |
std::vector< GLuint > | vertex_indices |
ChOpenGLShader * | shader |
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono_opengl/core/ChOpenGLObject.h
- /builds/uwsbel/chrono/src/chrono_opengl/core/ChOpenGLObject.cpp