NNS_G2dGetImageLocation

Syntax

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

Arguments

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

Return Values

The address, in the type of VRAM specified to use.

Description

Gets the VRAM address from an image proxy. The type (VRAM use type) specifies the graphics engine for which you want to get the image data'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

2004/06/10 Added a description of the types of VRAM usage.
2004/05/28 Initial version.


CONFIDENTIAL