Typedefs | |
typedef unsigned int | index_t |
typedef float | real_t |
Enumerations | |
enum | update_mode { STATIC = 0, DYNAMIC = 1 } |
Used to specify whether a buffer is dynamic or static. More... | |
Functions | |
template<typename T> | |
void * | VBO_OFFSET (const vbuffer::index_t &num_elements_to_offset) |
Returns a pointer that represents a byte offset for use with the OpenGL array drawing functions. |
typedef unsigned int index_t |
Definition at line 50 of file vbuffer.hpp.
Definition at line 51 of file vbuffer.hpp.
enum update_mode |
void* gsgl::platform::vbuffer::VBO_OFFSET | ( | const vbuffer::index_t & | num_elements_to_offset | ) | [inline] |
Returns a pointer that represents a byte offset for use with the OpenGL array drawing functions.
The template parameter T should be the type of the elements in the array; this is used to get the size.
Definition at line 59 of file vbuffer.hpp.
Referenced by clipmap_ring::draw().