##### Ninja Library - Texture Function

# njChangeTextureMemorySize

Changes the texture memory size.

### FORMAT

`

  void njChangeTextureMemorySize( size )
  Uint32 size

`

### PARAMETER

  `size` | Sets the texture memory size in bytes/4.

### RETURN

  None

### DESCRIPTION

  Sets the texture memory size in bytes/4. When this function is used, the texture memory size can be changed without clearing the frame buffer before the next rendering. The procedure for changing the texture memory is the same as when using the `njSetTextureMemorySize()` function and the `njChangeSystem()` function.

### EXAMPLE

      /* Exit NINDOWS */
      nwExitSystem();
      /* Exit the debugging text */
      njExitPrint();
      /* Release all textures */
      njReleaseTextureAll();
      /* Change the texture memory size */
      njChangeTextureMemorySize(0x120000);
      /* Initialize the debugging text */
      njInitPrint(NULL,0,0);
      /* Initialize NINDOWS */
      nwInitSystem(100);
      /* Load the textures again */
      njLoadTexture(&texlist);

### REFERENCE

  `njInitSystem()
  njChangeSystem()
  `

njChangeTextureMemorySize

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999