113 glReadPixels(x, y, width, height, format,
void Dump(std::ostream &out=std::cout)
void InitGlew()
Initializes GLEW if enabled in the BIAS configuration.
void Init(unsigned int Width, unsigned int Height, unsigned int channels=1, enum EStorageType storageType=ST_unsignedchar, const bool interleaved=true)
calls Init from ImageBase storageType is ignored, just dummy argument
glfRenderingContextConfig()
void Grab(BIAS::Image< unsigned char > &image, GrabSource source=GRAB_COLOR, int x=0, int y=0, int width=0, int height=0)
Copies the contents of the framebuffer to an image.
GrabSource
Frame buffer data that can be retrieved by Grab.
Configuration for a rendering context.