# NNS_GfdGetTexKeySize

## C Specification

      #include <nnsys/gfd.h>

       NNS_GfdGetTexKeySize(NNSGfdTexKey memKey);

## Arguments

memKey | Key data for the texture-use memory allocated from VRAM

## Return Values

The size of the allocated texture-use memory (16 to 524272 bytes).

## Description

Gets the size of the texture-use memory indicated by the key data specified by `memKey`.

There is a restriction for the size that can be specified due to the specification of the bit expression inside the palette key.

## See Also

NNS_GfdGetTexKeyAddr, NNS_GfdGetTexKey4x4Flag

## Revision History

01/31/2005 Added a cautionary statement regarding the size range.

07/16/2004 Initial version.