#include
<oglplus/output_data.hpp>
class OutputData { public: typedef OneOf<DataType, PixelDataType> PixDataType; OutputData(BufferSize size, GLvoid* addr); OutputData(PixDataType type, BufferSize size, GLvoid* addr); template <typename T> OutputData(SizeType count, T* addr); template <typename T, std::size_t N> OutputData(T (&addr)[N]); template <typename T, std::size_t N> OutputData(std::array<T, N>& a); template <typename T> OutputData(std::vector<T>& v); PixDataType Type(void) const; BigSizeType Size(void) const; GLvoid* Addr(void) const; };
Construction from |
|
Construction from |
|
Construction from |
|
Construction from an array with known size. |
|
Construction from a std::array. |
|
Construction from a std::vector. |
|
The pixel data type. |
|
Geturns size in bytes. |
|
Returns the location of the data. |