Bbop-Library 0.4.1-alpha
Opengl library to build 2d apps and game that implement a light system named Lumop
 
Loading...
Searching...
No Matches
VBO Class Reference

#include <VBO.h>

Public Member Functions

 VBO (GLfloat *vertices, GLsizeiptr size, GLenum typeVBO)
 
 VBO ()
 
void init (GLfloat *vertices, GLsizeiptr size, GLenum typeVBO)
 
void Bind () const
 
void Unbind ()
 
void Delete ()
 
void update (GLfloat *vertices, GLsizeiptr size)
 

Public Attributes

GLuint ID
 

Constructor & Destructor Documentation

◆ VBO() [1/2]

VBO::VBO ( GLfloat * vertices,
GLsizeiptr size,
GLenum typeVBO )

◆ VBO() [2/2]

VBO::VBO ( )

Member Function Documentation

◆ Bind()

void VBO::Bind ( ) const

◆ Delete()

void VBO::Delete ( )

◆ init()

void VBO::init ( GLfloat * vertices,
GLsizeiptr size,
GLenum typeVBO )

◆ Unbind()

void VBO::Unbind ( )

◆ update()

void VBO::update ( GLfloat * vertices,
GLsizeiptr size )

Member Data Documentation

◆ ID

GLuint VBO::ID

The documentation for this class was generated from the following files: