Skip to content

Class AIAC::GLObject

ClassList > AIAC > GLObject

Inherited by the following classes: AIAC::GLLineObject, AIAC::GLMeshObject, AIAC::GLPointObject

Public Attributes

Type Name
GLuint colorBuf
GLsizei size
GLObjectType type
GLuint vertexBuf

Public Functions

Type Name
void DeleteVBOs ()
virtual void Draw () = 0
GLObject () = default
GLObject (const GLObject & other)
GLObject & operator= (const GLObject & other)
~GLObject ()

Protected Functions

Type Name
void BindVBOs ()
void BufferData (const std::vector< glm::vec3 > & vertices, const std::vector< glm::vec4 > & colors)

Public Attributes Documentation

variable colorBuf

GLuint AIAC::GLObject::colorBuf;

variable size

GLsizei AIAC::GLObject::size;

variable type

GLObjectType AIAC::GLObject::type;

variable vertexBuf

GLuint AIAC::GLObject::vertexBuf;

Public Functions Documentation

function DeleteVBOs

void AIAC::GLObject::DeleteVBOs () 

function Draw

virtual void AIAC::GLObject::Draw () = 0

function GLObject [½]

AIAC::GLObject::GLObject () = default

function GLObject [2/2]

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

function operator=

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

function ~GLObject

inline AIAC::GLObject::~GLObject () 

Protected Functions Documentation

function BindVBOs

void AIAC::GLObject::BindVBOs () 

function BufferData

void AIAC::GLObject::BufferData (
    const std::vector< glm::vec3 > & vertices,
    const std::vector< glm::vec4 > & colors
) 


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