Ninja Library - Texture Function

njInitTextureGlobalIndex

Initializes global index automatic allocation

FORMAT

void njInitTextureGlobalIndex( globalInde )
Uint32 globalIndex

PARAMETER

 globalIndex  Initial value of global index automatic allocation 

RETURN

None

DESCRIPTION

Sets the initial value for automatic allocation if there is no global index in the PVR texture, or if the NJD_TEXTATTR_GLOBALINDEX is not specified. The initial value for global index automatic allocation is 0xFFFFFFEF. For details, refer to the texture guide.

EXAMPLE

Set global index to start at 1000000
Allocate in the order 1000000, 999999, 999998,,
 njInitTextureGlobalIndex(1000000);

njInitTextureGlobalIndex
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999