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);