SimGear - Simulator Construction Tools
screen-dump.hxx File Reference

Go to the source code of this file.


bool sg_glDumpWindow (const char *filename, int win_width, int win_height)

Detailed Description

Dump a copy of the opengl screen buffer to a file.

Definition in file screen-dump.hxx.

Function Documentation

bool sg_glDumpWindow ( const char *  filename,
int  win_width,
int  win_height 

Dump the screen buffer to a PNG file.

filenamename of file
win_widthwidth of our opengl window
win_heightheight of our opengl window

Definition at line 35 of file screen-dump.cxx.