# NNS_G3dPlttGetRequiredSize

## Syntax

      #include <nnsys/g3d/kernel.h>

      u32
      NNS_G3dPlttGetRequiredSize(
          const NNSG3dResTex* pTex
      );

## Arguments

pTex | Pointer to the texture resource

## Return Values

Returns the size needed to store the palette in VRAM.

## Description

Gets the size needed to store, in VRAM, the palette stored in the texture resource specified by `pTex`.

## See Also

`NNS_G3dTexGetRequiredSize`

## Revision History

2004/08/02 Initial version.

CONFIDENTIAL