#include <ddgfbuf.h>
Class diagram for ddgFrameBuffer:
Images can be read from .rgb and TGA files. An image can store an arbitrary 2D set of data.
Create an image but don't allocate memory.
ch is the number of channels (1-4). The t flag is true if this is an OpenGL texture which needs to be a power of 2.
Copy the Z-buffer from the screen into the image.
Allocates image to match screen size.
Copy the Frame-buffer from the screen into the image.
Copy the Alpha-buffer from the screen into the image.