chrono::opengl::ChOpenGLObject Class Referenceabstract
Description
Base class for all drawable objects.
#include <ChOpenGLObject.h>
Inheritance diagram for chrono::opengl::ChOpenGLObject:

Collaboration diagram for chrono::opengl::ChOpenGLObject:

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 |
Member Function Documentation
◆ TakeDown()
|
overridevirtual |
Implements chrono::opengl::ChOpenGLBase.
The documentation for this class was generated from the following files:
- C:/M/B/src/chrono-9.0.1/src/chrono_opengl/core/ChOpenGLObject.h
- C:/M/B/src/chrono-9.0.1/src/chrono_opengl/core/ChOpenGLObject.cpp