OGLplus (0.52.0) a C++ wrapper for OpenGL

oglplus::OutputData Class Reference

Class used for passing the address and size of a writable buffer to functions. More...

#include </home/chochlik/devel/oglplus/include/oglplus/output_data.hpp>

Public Member Functions

 OutputData (BufferSize size, GLvoid *addr)
 Construction from size in bytes and pointer to addr.
 
 OutputData (PixDataType type, BufferSize size, GLvoid *addr)
 Construction from type, size in bytes and pointer to addr.
 
template<typename T >
 OutputData (GLsizei count, T *addr)
 Construction from count of instances of type T at addr.
 
template<typename T , std::size_t N>
 OutputData (T(&addr)[N])
 Construction from an array with known size.
 
template<typename T , std::size_t N>
 OutputData (std::array< T, N > &a)
 Construction from a std::array.
 
template<typename T >
 OutputData (std::vector< T > &v)
 Construction from a std::vector.
 

Detailed Description

Class used for passing the address and size of a writable buffer to functions.


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

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).