#include <nnsys/gfd.h>
void NNS_GfdInitFrmTexVramManager(u16 numSlot, BOOL useAsDefault);
numSlot | The number of VRAM slots that the Frame Texture VRAM Manager will manage |
useAsDefault | Whether or not to use the Frame Texture VRAM Manager by default |
None.
Initializes the Frame Texture VRAM Manager. The Frame Texture VRAM Manager is initialized so that it will manage the number of slots of VRAM specified by numSlot
, starting from VRAM slot 0.
useAsDefault
is set to TRUE
if the Frame Texture VRAM Manager is to be used by default. When useAsDefault
is set to TRUE
, the Frame Texture VRAM Manager's functions that allocate and free texture memory (NNS_GfdAllocFrmTexVram
and NNS_GfdFreeFrmTexVram
) get registered in the global function pointer variables NNS_GfdDefaultFuncAllocTexVram
and NNS_GfdDefaultFuncFreeTexVram
.
NNS_GfdAllocTexVram NNS_GfdFreeTexVram
NNS_GfdAllocFrmTexVram NNS_GfdFreeFrmTexVram
2004/07/16 Initial version.
CONFIDENTIAL