GsIMAGE

Image data structure information

struct GsIMAGE {
        short pmode;
        short px, py;
        u_short pw, ph;
        u_long *pixel;
        short cx, cy;
        u_short cw, ch;
        u_long *clut;
}

Members

pmode Pixel mode
0: 4-bit CLUT
1: 8-bit CLUT
2: 16-bit Direct
3: 24-bit Direct
4: Multiple mode combinations
px, py Pixel data storage location within the frame buffer
pw, ph Pixel data width and height
pixel Pointer to pixel data
cx, cy CLUT data storage location within the frame buffer
cw, ch CLUT data width and height
clut Pointer to CLUT data

Explanation

GsIMAGE is loaded with TIM format data information using the GsGetTimInfo() function.
For information on the TIM file format, please refer to the Net Yaroze Members' Web site.