SimpleGL  1.1.0
A framework for platform independent rendering
Classes | Namespaces | Enumerations
vertex_buffer_object.hpp File Reference
#include <SimpleGL_gl/SimpleGL_gl_Export.h>
#include <vector>
#include <GL/glew.h>
#include <glm/glm.hpp>

Go to the source code of this file.

Classes

class  sgl::Buffer
 This class wraps an OpenGL buffer object. More...
 

Namespaces

 sgl
 Generic namespace for the SimpleGL framework.
 

Enumerations

enum  sgl::BufferTarget : GLenum { sgl::BufferTarget::ARRAY_BUFFER = GL_ARRAY_BUFFER, sgl::BufferTarget::ELEMENT_ARRAY_BUFFER = GL_ELEMENT_ARRAY_BUFFER }
 This enum wraps the buffer object's targets. More...
 
enum  sgl::BufferUsage : GLenum {
  sgl::BufferUsage::STATIC_DRAW = GL_STATIC_DRAW, sgl::BufferUsage::STATIC_READ = GL_STATIC_READ, sgl::BufferUsage::STATIC_COPY = GL_STATIC_COPY, sgl::BufferUsage::DYNAMIC_DRAW = GL_DYNAMIC_DRAW,
  sgl::BufferUsage::DYNAMIC_READ = GL_DYNAMIC_READ, sgl::BufferUsage::DYNAMIC_COPY = GL_DYNAMIC_COPY, sgl::BufferUsage::STREAM_DRAW = GL_STREAM_DRAW, sgl::BufferUsage::STREAM_READ = GL_STREAM_READ,
  sgl::BufferUsage::STREAM_COPY = GL_STREAM_COPY
}
 This enum wraps the buffer object's usages. More...
 
enum  sgl::MapAccess : GLenum { sgl::MapAccess::READ_ONLY = GL_READ_ONLY, sgl::MapAccess::WRITE_ONLY = GL_WRITE_ONLY, sgl::MapAccess::READ_WRITE = GL_READ_WRITE }
 This enum wraps the buffer object's map accesses. More...
 
enum  sgl::MapRangeAccess : GLbitfield { sgl::MapRangeAccess::MAP_READ_BIT = GL_MAP_READ_BIT, sgl::MapRangeAccess::MAP_WRITE_BIT = GL_MAP_WRITE_BIT }
 This enum wraps the buffer object's map range access bits. More...
 

Detailed Description

Author
Heiko Brumme

This file contains classes to create buffer objects.

Definition in file vertex_buffer_object.hpp.