NNS_G2dIsImagePaletteReadyToUse

C Specification

#include <nnsys/g2d/g2d_Image.h>
BOOL NNS_G2dIsImagePaletteReadyToUse( 
                        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

TRUE if useable (if set).

Description

Checks if the image palette proxy has been properly set and determines the type of VRAM that has been set using the type parameter. 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 related to the type of VRAM to use.
2004/05/28 Initial version.


CONFIDENTIAL