Ninja Library - Texture Function

njSetTextureMemorySize

Sets texture memory size

FORMAT

void njSetTextureMemorySize( size )
Uint32 size

PARAMETER

 size  Sets texture memory size in byte/4 

RETURN

None

DESCRIPTION

Sets the texture memory size in byte/4. The value set with this function is reflected in sbinit.c of the njInitSystem() function and in the njChangeSystem() function. When the function is not used, the texture memory default is 4MByte.

EXAMPLE

The following sets in sbinit.c
/* Set texture memory to 5MB */
njSetTextureMemorySize(0x500000/4);
/* Initialize Ninja */
njInitSystem(mode, frame, count);

REFERENCE

njInitSystem()
njChangeSystem()

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