13 #ifndef OGLPLUS_OUTPUT_DATA_1310102147_HPP
14 #define OGLPLUS_OUTPUT_DATA_1310102147_HPP
63 template <
typename T, std::
size_t N>
71 template <
typename T, std::
size_t N>
86 PixDataType Type(
void)
const
91 GLsizeiptr Size(
void)
const
96 GLvoid* Addr(
void)
const
104 #endif // include guard
DataType
OpenGL data type enumeration.
Definition: data_type.hpp:34
Class used for passing the address and size of a writable buffer to functions.
Definition: output_data.hpp:22
This class represents the size of a GPU buffer in bytes.
Definition: buffer_size.hpp:22
OutputData(std::array< T, N > &a)
Construction from a std::array.
Definition: output_data.hpp:72
PixelDataType
OpenGL pixel data type enumeration.
Definition: pixel_data.hpp:29
Object representing Buffer's storage size in bytes.
Data type-related declarations.
GLsizeiptr Get(void) const
Gets the size in bytes.
Definition: buffer_size.hpp:58
OutputData(BufferSize size, GLvoid *addr)
Construction from size in bytes and pointer to addr.
Definition: output_data.hpp:41
Stores a value having one of the listed types in a common representation.
Definition: one_of.hpp:60
OutputData(std::vector< T > &v)
Construction from a std::vector.
Definition: output_data.hpp:80
OutputData(T(&addr)[N])
Construction from an array with known size.
Definition: output_data.hpp:64
OutputData(PixDataType type, BufferSize size, GLvoid *addr)
Construction from type, size in bytes and pointer to addr.
Definition: output_data.hpp:48
DataType GetDataType(void)
Returns the DataType for the specified type T.
Definition: data_type.hpp:94
OutputData(GLsizei count, T *addr)
Construction from count of instances of type T at addr.
Definition: output_data.hpp:56