##### Ninja Library - Texture Function

# njTwiddledTexture

Converts to Twiddled-NoMipmap format texture

### FORMAT

`

  void njTwiddledTexture( *dst, *src, size )
  Sint16 *dst
  Sint16 *src
  Sint32 size

`

### PARAMETER

  `*dst` | Twiddled texture (output)
  `*src` | Rectangle texture (input)
  `size` | Texture width (length)

### RETURN

  None

### DESCRIPTION

  Converts rectangular format texture of 16 bit color to Twiddled-NoMipmap format texture for return.

  No attachment to global index header or PVR header.

### EXAMPLE

      Uint16 texsrc[128*128];
      Uint16 texdst[128*128];
      /*
      	texsrc of Rectangle format converted to Twiddled-NoMipmap format texture,
      	and results returned to texdst
      */
      njTwiddledTexture( texdst, texsrc, 128);

### NOTE

  Texture target must be specified for memory texture.

### REFERENCE

  `njReLoadVQCodebookNum()
  `

njTwiddledTexture

COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999