NNS_G2dSetRendererImageProxy

C Specification

#include <nnsys/g2d/g2d_Renderer.h>
void NNS_G2dSetRendererImageProxy
	( 
		NNSG2dRendererInstance*             pRend, 
		const NNSG2dImageProxy*             pImgProxy, 
		const NNSG2dImagePaletteProxy*      pPltProxy 
	);

Arguments

pRend [OUT] Renderer entity
pImgProxy [IN] Image information
pPltProxy [IN] Palette information

Return Values

None.

Description

Sets the image data and the palette data to the renderer entity. Execute this function before using the renderer entity.
This function can be used in the Begin-End rendering block.

Note:
When rendering is done by specifying the optimization flag and NNS_G2D_RDR_OPZHINT_LOCK_PARAMS, the use inside the Begin-End rendering block is prohibited.
This is because the Begin-End rendering of the rendering core module is called at the same timing as the Begin-End rendering of the renderer module.

With the renderer core module, the switching of the image proxy in Begin-End rendering is prohibited. This is because the precalculation of the parameters associated with ImageProxy is done at Begin-End rendering.

NNS_G2dSetCurrentImageProxy has undergone a name change. The previous function name remains as a separate name.

See Also

NNS_G2dSetCurrentImageProxy

Revision History

11/10/2004 Added description.

08/02/2004 Renamed function.

05/28/2004 Initial version.


CONFIDENTIAL