Graphics External Variables

Variable Type Description
CLIP2 RECT 2-dimensional clipping area.
PSDOFSX[2] u_short Double buffer base point (X coordinate) 
Set by GsDefDispbuff()
PSDOFSY[2]  u_short Double buffer base point (Y coordinate) 
Set by GsDefDispbuff()
PSDIDX u_short Double buffer index
PSDCNT u_long Number incremented by frame buffer switch 
POSITION _GsPOSITION 2-dimensional offset
GsDRAWENV DRAWENV Drawing Environment
GsDISPENV DISPENV Display Environment
GsLSMATRIX MATRIX Local screen matrix 
Set by GsSetLs()
GsWSMATRIX MATRIX World screen matrix 
Set by GsSetRefView(), etc.
GsLIGHT_MODE int Default light mode
GsLIGHTWSMATRIX MATRIX Light matrix 
Set by GsSetFlatLight()
GsIDMATRIX MATRIX Unit matrix
GsIDMATRIX2 MATRIX Unit matrix (including aspect conversion)
GsOUT_PACKET_P u_long Pointer to top of packet area 
Set by GsSetWorkBase()
GsLMODE u_long Attribute decoding result (light mode)
GsLIGNR u_long Attribute decoding result (light ignored)
GsLIOFF u_long Attribute decoding result (without shading)
GsNDIV u_long Attribute decoding result (division number)
GsTON u_long Attribute decoding result (semi-transparency)
GsDISPON u_long Attribute decoding result (display / no display)