Tucano  0.1
A library for rapid prototyping with modern OpenGL and GLSL
pamIO.hpp File Reference

Go to the source code of this file.

Namespaces

 Tucano
 
 Tucano::ImageImporter
 

Functions

static bool Tucano::ImageImporter::loadPAMImage (string filename, Tucano::Texture *tex) __attribute__((unused))
 
static bool Tucano::ImageImporter::writePAMImage (string filename, Tucano::Framebuffer *fbo, int attach)
 Saves a framebuffer attachment to an image file Note that since the input is a float image, the max value is arbitrary For now we support only 1 byte per value We are also assuming writing to an RGBA format. More...