typedef struct COLOR
{
int red, green, blue, alpha;
};
typedef struct RESOLUTION_DATA
{
int width, height;
COLOR color_size; // size per color channel in bits
COLOR accum_size; // for the accumulation buffer
int stencil, zbuffer, depth;
bool doublebuffer;
bool...