njReleaseCacheTextureAll | Japanese
    <-|INDEX|->
Release all cache memory

### FORMAT

      #include <Ninja.h>
      void njReleaseCacheTextureAll(void);

### PARAMETERS

  None

### RETURN VALUE

  None

### FUNCTION

- Release all cache memory

### EXAMPLE

      NJS_TEXNAME texname[2];
      NJS_TEXLIST texlist ={texname,2};

      /* Prepare to read in two textures */
      NJS_TEXMEMLIST texmemlist[2];

      njInitTexture(texmemlist,2);

      njSetTextureName(&texname[0],"file1.pvr",0,NJD_TEXATTR_TYPE_FILE|
      				NJD_TEXATTR_TYPE_CACHE|NJD_TEXATTR_GLOBALINDEX);
      njSetTextureName(&texname[1],"file2.pvr",1,NJD_TEXATTR_TYPE_FILE|
      				NJD_TEXATTR_TYPE_CACHE|NJD_TEXATTR_GLOBALINDEX);
      /* Load texture and read into cache */
      njLoadTexture(&texlist);

      /* Set texlist as the current texture list */
      njSetTexture(&texlist);

      /* Read texture from cache into texture memory*/
      njLoadCacheTextureNum(0);
      njLoadCacheTextureNum(1);

      /* Set current texture to texlist #0 file1.pvr*/
      njSetTextureNum(0);
              :
      wing texture with texture in file1.pvr
              :

      /* Relesae all textures in cache */
      njReleaseCacheTextureAll();

### NOTES

- Even if texture in cache memory is released, the one in texture memory will not be released. Refer to Texture Guide for more details.

### RELATED TOPICS

njReleaseCacheTextureAll |
    <-|INDEX|->