#include <nnsys/g2d/g2d_Renderer.h>
void NNS_G2dSetRendererImageProxy
(
NNSG2dRendererInstance* pRend,
const NNSG2dImageProxy* pImgProxy,
const NNSG2dImagePaletteProxy* pPltProxy
);
pRend | [OUT] Renderer entity |
pImgProxy | [IN] Image information |
pPltProxy | [IN] Palette information |
None.
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 BeginRendering
— EndRendering
block.
Note:When rendering occurs by specifying the optimization flag and NNS_G2D_RDR_OPZHINT_LOCK_PARAMS
, use of this function inside the BeginRendering
— EndRendering
block is prohibited.
This is because the BeginRendering
— EndRendering
function calls of the renderer core module would be called with the same timing as the renderer module's BeginRendering
— EndRendering
function calls.
With the renderer core module, switching of the image proxy settings inside the BeginRendering
— EndRendering
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.
2004/11/10 Added Description.
2004/08/02 Renamed function.
2004/05/28 Initial version.
CONFIDENTIAL