NNS_G2dGetImagePaletteLocation

C Specification

#include <nnsys/g2d/g2d_Image.h>
u32  NNS_G2dGetImagePaletteLocation(
const NNSG2dImagePaletteProxy*     pImg,
NNS_G2D_VRAM_TYPE  type );

Arguments

pImg [IN] Image palette proxy
type [IN] VRAM type to use (3D, 2D-Main, or 2D-Sub)

Return Values

The address for the assigned VRAM image.

Description

Gets a VRAM address as an image palette proxy. The type (VRAM use type) specifies the graphics engine for which you want to obtain the image palette proxy's VRAM address. You can specify any of the following types of VRAM usage:

NNS_G2D_VRAM_TYPE_3DMAIN    This type is used for the 3D graphics engine
NNS_G2D_VRAM_TYPE_2DMAIN    This type is used for the 2D graphics engine A
NNS_G2D_VRAM_TYPE_2DSUB     This type is used for the 2D graphics engine B

See Also

None.

Revision History

06/10/2004 Added a description related to the type of VRAM to use.
05/28/2004 Initial version.