Class AIAC::GLMeshObject¶
ClassList > AIAC > GLMeshObject
Inherits the following classes: AIAC::GLObject
Public Attributes¶
Type | Name |
---|---|
GLuint | indexBuf |
std::vector< glm::vec4 > | m_Colors |
std::vector< uint32_t > | m_Indices |
std::vector< glm::vec3 > | m_Vertices |
Public Attributes inherited from AIAC::GLObject¶
See AIAC::GLObject
Type | Name |
---|---|
GLuint | colorBuf |
GLsizei | size |
GLObjectType | type |
GLuint | vertexBuf |
Public Functions¶
Type | Name |
---|---|
virtual void | Draw () |
GLMeshObject () | |
GLMeshObject (const std::vector< glm::vec3 > & vertices, const std::vector< glm::vec4 > & colors, const std::vector< uint32_t > & indices) | |
GLMeshObject (const GLMeshObject & other) | |
GLMeshObject & | operator= (const GLMeshObject & other) |
Public Functions inherited from AIAC::GLObject¶
See AIAC::GLObject
Type | Name |
---|---|
void | DeleteVBOs () |
virtual void | Draw () = 0 |
GLObject () = default | |
GLObject (const GLObject & other) | |
GLObject & | operator= (const GLObject & other) |
~GLObject () |
Protected Functions inherited from AIAC::GLObject¶
See AIAC::GLObject
Type | Name |
---|---|
void | BindVBOs () |
void | BufferData (const std::vector< glm::vec3 > & vertices, const std::vector< glm::vec4 > & colors) |
Public Attributes Documentation¶
variable indexBuf¶
variable m_Colors¶
variable m_Indices¶
variable m_Vertices¶
Public Functions Documentation¶
function Draw¶
Implements AIAC::GLObject::Draw
function GLMeshObject [⅓]¶
function GLMeshObject [⅔]¶
AIAC::GLMeshObject::GLMeshObject (
const std::vector< glm::vec3 > & vertices,
const std::vector< glm::vec4 > & colors,
const std::vector< uint32_t > & indices
)
function GLMeshObject [3/3]¶
function operator=¶
The documentation for this class was generated from the following file src/AIAC/Render/GLObject.h