gsgl::platform::vbuffer Namespace Reference


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 Documentation

typedef unsigned int index_t

Definition at line 50 of file vbuffer.hpp.

typedef float real_t

Definition at line 51 of file vbuffer.hpp.


Enumeration Type Documentation

Used to specify whether a buffer is dynamic or static.

Enumerator:
STATIC 
DYNAMIC 

Definition at line 54 of file vbuffer.hpp.


Function Documentation

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().


Generated on Sat Mar 1 13:50:07 2008 for Periapsis Project by  doxygen 1.5.5