gKit2 light
Public Member Functions | Public Attributes | List of all members
Ringbuffer Class Reference

Public Member Functions

int create (const std::size_t _static, const std::size_t _dynamic, const int _buffers)
 
int release ()
 
void * map_static_buffer ()
 
int flush_static_buffer ()
 
std::size_t static_buffer_offset ()
 
GLuint static_buffer ()
 
void * map_buffer (const unsigned int id)
 
int flush_buffer (const unsigned int id)
 
std::size_t buffer_offset (const unsigned int id)
 
GLuint buffer (const unsigned int id)
 

Public Attributes

std::size_t size
 
std::size_t static_size
 
std::size_t dynamic_size
 
int buffers
 
void * map
 
GLuint name
 

Detailed Description

Definition at line 3 of file Ringbuffer.h.


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