iridescence
Loading...
Searching...
No Matches
glk::PixelBuffer Class Reference

#include <pixel_buffer.hpp>

Public Member Functions

 PixelBuffer (const Eigen::Vector2i &size, int bytes_per_pixel)
 ~PixelBuffer ()
void copy_from_texture (const glk::Texture &texture, GLuint format, GLuint type)
template<typename T>
std::vector< T > read_pixels ()

Constructor & Destructor Documentation

◆ PixelBuffer()

glk::PixelBuffer::PixelBuffer ( const Eigen::Vector2i & size,
int bytes_per_pixel )

◆ ~PixelBuffer()

glk::PixelBuffer::~PixelBuffer ( )

Member Function Documentation

◆ copy_from_texture()

void glk::PixelBuffer::copy_from_texture ( const glk::Texture & texture,
GLuint format,
GLuint type )

◆ read_pixels()

template<typename T>
std::vector< T > glk::PixelBuffer::read_pixels ( )

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