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

Textured 4 point polygon. More...

#include <psxgpu.h>

Data Fields

short x [4]
 X Coordinates for vertexes.
 
short y [4]
 Y Coordinates for vertexes.
 
unsigned char r
 Red color component (0-255)
 
unsigned char g
 Green color component (0-255)
 
unsigned char b
 Blue color component (0-255)
 
short cx
 CLUT X coordinate.
 
short cy
 CLUT Y coordinate.
 
unsigned char tpage
 Texture page.
 
unsigned char u [4]
 Horizontal texture offset.
 
unsigned char v [4]
 Vertical texture offset.
 
unsigned int attribute
 Attribute.
 

Detailed Description

Textured 4 point polygon.

Field Documentation

unsigned int GsTPoly4::attribute

Attribute.

unsigned char GsTPoly4::b

Blue color component (0-255)

short GsTPoly4::cx

CLUT X coordinate.

short GsTPoly4::cy

CLUT Y coordinate.

unsigned char GsTPoly4::g

Green color component (0-255)

unsigned char GsTPoly4::r

Red color component (0-255)

unsigned char GsTPoly4::tpage

Texture page.

unsigned char GsTPoly4::u[4]

Horizontal texture offset.

unsigned char GsTPoly4::v[4]

Vertical texture offset.

short GsTPoly4::x[4]

X Coordinates for vertexes.

short GsTPoly4::y[4]

Y Coordinates for vertexes.


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