#include "platform/platform.hpp"
#include "data/array.hpp"
#include "math/vector.hpp"
Go to the source code of this file.
Namespaces | |
namespace | gsgl |
namespace | gsgl::platform |
namespace | gsgl::platform::vbuffer |
Classes | |
class | index_buffer |
Encapsulates an index buffer object. More... | |
class | vbuffer_base |
An intermediate class so we don't pollute the header namespaces with OpenGL stuff. More... | |
class | vbuffer_mixin |
Mixes in an array of the appropriate data type. More... | |
class | vertex_buffer |
Encapsulates a vertex buffer object. More... | |
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. |