Tatooine
Classes | Namespaces | Typedefs | Functions
buffer.h File Reference

Go to the source code of this file.

Classes

class  tatooine::gl::buffer_map< ArrayType, T, Access >
 
class  tatooine::gl::rbuffer_map_element< array_type, T >
 Returned by buffer::operator[] const for reading single elements. More...
 
class  tatooine::gl::rwbuffer_map_element< array_type, T >
 Returned by buffer::operator[] for reading and writing single elements. More...
 
class  tatooine::gl::wbuffer_map_element< array_type, T >
 
class  tatooine::gl::buffer_iterator< array_type, T >
 non-const buffer iterator More...
 
class  tatooine::gl::cbuffer_iterator< array_type, T >
 const buffer iterator More...
 
class  tatooine::gl::buffer< ArrayType, T >
 buffer base class for each of the OpenGL buffer types More...
 

Namespaces

namespace  tatooine
 
namespace  tatooine::gl
 

Typedefs

template<GLsizei array_type, typename T >
using tatooine::gl::rbuffer_map = buffer_map< array_type, T, GL_MAP_READ_BIT >
 
template<GLsizei array_type, typename T >
using tatooine::gl::wbuffer_map = buffer_map< array_type, T, GL_MAP_WRITE_BIT >
 
template<GLsizei array_type, typename T >
using tatooine::gl::rwbuffer_map = buffer_map< array_type, T, GL_MAP_READ_BIT|GL_MAP_WRITE_BIT >
 

Functions

template<GLsizei ArrayType, typename T , GLbitfield Access>
auto tatooine::gl::begin (buffer_map< ArrayType, T, Access > &map)
 
template<GLsizei ArrayType, typename T , GLbitfield Access>
auto tatooine::gl::begin (buffer_map< ArrayType, T, Access > const &map)
 
template<GLsizei ArrayType, typename T , GLbitfield Access>
auto tatooine::gl::end (buffer_map< ArrayType, T, Access > &map)
 
template<GLsizei ArrayType, typename T , GLbitfield Access>
auto tatooine::gl::end (buffer_map< ArrayType, T, Access > const &map)
 
template<GLsizei array_type, typename T >
auto tatooine::gl::operator<< (std::ostream &out, rbuffer_map_element< array_type, T > &data) -> auto &
 
template<GLsizei array_type, typename T >
auto tatooine::gl::operator<< (std::ostream &out, rwbuffer_map_element< array_type, T > &data) -> auto &