Return to previous page | Return to menu | Go to next page
Macro
Texture management table
#define PICDEF(texno,cmode,pcsrc)
{(Uint16)(texno),(Uinr16)(cmode), (void *)(pcsrc)}
Uint16 texno ;
Uint16 cmode ;
void *pcsrc ;
texno texture number cmode Color mode (COL_16, 64, 128, 256, or 32K) pcsrc Texture data pointer defined by “TEXDAT”
Create an information table to set the texture in VRAM so that the texture can be handled in the program.
Reference: Chapter 7 Polygon surface attributes
PICDEF