PSXSDK
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros
Data Fields
GsImage Struct Reference

Image. More...

#include <psxgpu.h>

Data Fields

int pmode
 Pixel (color) mode.
 
int has_clut
 Reports whether this image has a Color Look Up Table.
 
int clut_x
 X coordinate of CLUT in framebuffer.
 
int clut_y
 Y coordinate of CLUT in framebuffer.
 
int clut_w
 Width of CLUT in framebuffer.
 
int clut_h
 Height of CLUT in framebuffer.
 
int x
 X coordinate of image in framebuffer.
 
int y
 Y coordinate of image in framebuffer.
 
int w
 Width of image in framebuffer.
 
int h
 Height of image in framebuffer.
 
void * clut_data
 Pointer to CLUT data.
 
void * data
 Pointer to image data.
 

Detailed Description

Image.

This structure describes a TIM image

Field Documentation

void* GsImage::clut_data

Pointer to CLUT data.

int GsImage::clut_h

Height of CLUT in framebuffer.

int GsImage::clut_w

Width of CLUT in framebuffer.

int GsImage::clut_x

X coordinate of CLUT in framebuffer.

int GsImage::clut_y

Y coordinate of CLUT in framebuffer.

void* GsImage::data

Pointer to image data.

int GsImage::h

Height of image in framebuffer.

int GsImage::has_clut

Reports whether this image has a Color Look Up Table.

1 if there's a CLUT, 0 otherwise.

int GsImage::pmode

Pixel (color) mode.

0 = 4bpp, 1 = 8bpp, 2 = 16bpp, 3 = 24bpp

int GsImage::w

Width of image in framebuffer.

int GsImage::x

X coordinate of image in framebuffer.

int GsImage::y

Y coordinate of image in framebuffer.


The documentation for this struct was generated from the following file: