Skip to content

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

GLuint AIAC::GLMeshObject::indexBuf;

variable m_Colors

std::vector<glm::vec4> AIAC::GLMeshObject::m_Colors;

variable m_Indices

std::vector<uint32_t> AIAC::GLMeshObject::m_Indices;

variable m_Vertices

std::vector<glm::vec3> AIAC::GLMeshObject::m_Vertices;

Public Functions Documentation

function Draw

virtual void AIAC::GLMeshObject::Draw () 

Implements AIAC::GLObject::Draw


function GLMeshObject [⅓]

inline AIAC::GLMeshObject::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]

inline AIAC::GLMeshObject::GLMeshObject (
    const GLMeshObject & other
) 

function operator=

inline GLMeshObject & AIAC::GLMeshObject::operator= (
    const GLMeshObject & other
) 


The documentation for this class was generated from the following file src/AIAC/Render/GLObject.h