Return to previous page | Return to menu | Go to next page
Structure
Texture data B>
typedef struct {
Uint16 Hsize ;
Uint16 Vsize ;
Uint16 CGadr ;
Uint16 HVsize ;
} TEXTURE ;
Hsize Horizontal size of texture Vsize Vertical size of texture CG address of CGadr texture / 8 HVsize Horizontal size / 8, Vertical size (for hardware)
((H SIZE/8)<<8) | (V SIZE)
This is a texture management table for using textures in SGL.
For details, refer to Programmer's Tutorial “Chapter 7: Polygon Face Attributes”.
Reference: Chapter 7 Polygon surface attributes
TEXTURE