Return to menu | Go to next page
Structure
Surface attribute list
typedef struct {
Uint8 flag ;
Uint8 sort ;
Uint16 texno ;
Uint16 atrb ;
Uint16 colno ;
Uint16 gstb ;
Uint16 dir ;
} ATTR ;
flag Front / back setting sort Sort setting texno texture number atrb attribute data colno color number gstb goo setting dir Texture inversion setting and type
Defines the polygon face attribute list.
Please refer to Programmer's Tutorial “Chapter 7: Polygon surface attributes” for details of surface attributes and actual usage.
Reference: Chapter 2 Drawing
ATTR