Return to previous page | Return to menu | Go to next page


Macro

PICDEF

Texture management table

Structure

#define   PICDEF(texno,cmode,pcsrc)   
                    {(Uint16)(texno),(Uinr16)(cmode), (void *)(pcsrc)}
          Uint16 texno ;
          Uint16 cmode ;
          void *pcsrc ;

Member

texno texture number
cmode Color mode (COL_16, 64, 128, 256, or 32K)
pcsrc Texture data pointer defined by “TEXDAT”

Description

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


Return to previous page | Return to menu | Go to next page