NNS_G2dSetRendererOverwrite*

Syntax

#include <nnsys/g2d/g2d_Renderer.h>

    NNS_G2D_INLINE void NNS_G2dSetRendererOverwritePriority
    (
        NNSG2dRendererInstance*     pRend,
        u16                         Priority
    );
    
    NNS_G2D_INLINE void NNS_G2dSetRendererOverwritePlttNo
    (
        NNSG2dRendererInstance*     pRend,
        u16                         plttNo
    );
    
    NNS_G2D_INLINE void NNS_G2dSetRendererOverwritePlttNoOffset
    (
        NNSG2dRendererInstance*     pRend,
        u16                         plttNoOffset
    )
    
    NNS_G2D_INLINE void NNS_G2dSetRendererOverwriteMosaicFlag
    (
        NNSG2dRendererInstance*     pRend,
        BOOL                        overwriteMosaicFlag
    );
    
    NNS_G2D_INLINE void NNS_G2dSetRendererOverwriteOBJMode
    (
        NNSG2dRendererInstance*     pRend,
        GXOamMode                   overwriteObjMode
    );
    
  

Arguments

pRend [OUT] Renderer entity
priority [IN] Drawing priority to overwrite (0-3)
plttNo [IN] Palette number to overwrite (0-15)
plttNoOffset [IN] Palette number to add (0-15)
overwriteMosaicFlag [IN] Mosaic flag to overwrite
overwriteObjMode [IN] Object mode to overwrite (GXOamMode)

Return Values

None.

Description

Sets the parameter values used for overwriting the OBJ drawn by the renderer.
NNS_G2dSetRendererOverwritePriority sets the drawing priority.
NNS_G2dSetRendererOverwritePlttNo sets the palette number.
The NNS_G2dSetRendererOverwritePlttNoOffset function sets the palette number as an add-on difference value. The NNS_G2dSetRendererOverwriteMosaicFlag function sets the mosaic flag.
The NNS_G2dSetRendererOverwriteOBJMode function sets the object mode.

To enable the parameter overwriting feature, you must use the NNS_G2dSetRendererOverwriteEnable function to enable the appropriate parameter overwriting feature.

See Also

NNS_G2dSetRendererOverwriteEnable/Disable
NNS_G2dGetRendererOverwrite*

Revision History

2009/04/01 Added the NNS_G2dSetRendererOverwritePlttNoOffset function.
2004/11/10 Added the NNS_G2dGetRendererOverwriteMosaicFlag and NNS_G2dGetRendererOverwriteOBJMode functions.
2004/10/12 Initial version.


CONFIDENTIAL