NNS_G2dSetRendererImageProxy

Syntax

#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 also be used inside the BeginRenderingEndRendering block.

Note:When rendering occurs by specifying the optimization flag and NNS_G2D_RDR_OPZHINT_LOCK_PARAMS, use of this function inside the BeginRenderingEndRendering block is prohibited.
This is because the BeginRenderingEndRendering function calls of the renderer core module would be called with the same timing as the renderer module's BeginRenderingEndRendering function calls.

With the renderer core module, switching of the image proxy settings inside the BeginRenderingEndRendering block is prohibited. This is because the precalculation of the parameters associated with ImageProxy is done at when the BeginRendering function is called.)

This function is the NNS_G2dSetCurrentImageProxy function under a new name. The previous function name remains as a separate name.

See Also

NNS_G2dSetCurrentImageProxy

Revision History

2004/11/10 Added Description.
2004/08/02 Renamed function.
2004/05/28 Initial version.


CONFIDENTIAL