Class used for passing the size of and pointer to data to be put in a Buffer. More...
#include </home/chochlik/devel/oglplus/include/oglplus/buffer_data.hpp>
Public Member Functions | |
| BufferData (BufferSize size, const GLvoid *data) | |
Construction from size in bytes and pointer to data. | |
| template<typename T > | |
| BufferData (GLsizei count, const T *data) | |
Construction from count of instances of type T at data. | |
| template<typename T , std::size_t N> | |
| BufferData (const T(&data)[N]) | |
| Construction from an array with known size. | |
| template<typename T , std::size_t N> | |
| BufferData (const std::array< T, N > &a) | |
| Construction from a std::array. | |
| template<typename T > | |
| BufferData (const std::vector< T > &v) | |
| Construction from a std::vector. | |
Class used for passing the size of and pointer to data to be put in a Buffer.