# NNS_G2dSetRendererOverwrite*

## C Specification

      #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_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)
overwriteMosaicFlag | [IN] Mosaic flag to overwrite
overwriteObjMode | [IN] Object mode to overwrite (GXOamMode)

## Return Values

None.

## Description

This function sets the parameter values that are used for overwriting the OBJ that was drawn by the renderer.
`NNS_G2dSetRendererOverwritePriority` sets the drawing priority.
`NNS_G2dSetRendererOverwritePlttNo` sets the palette number.
`NNS_G2dSetRendererOverwriteMosaicFlag` obtains the mosaic flag.
`NNS_G2dSetRendererOverwriteOBJMode` obtains the object mode.
To enable the parameter overwriting feature, use the `NNS_G2dSetRendererOverwriteEnable` function to enable the appropriate parameter overwriting feature.

## See Also

`NNS_G2dSetRendererOverwriteEnable/Disable`, `NNS_G2dGetRendererOverwrite*`

## Revision History

11/10/2004 Added `NNS_G2dGetRendererOverwriteMosaicFlag` and `NNS_G2dGetRendererOverwriteOBJMode`.
10/12/2004 Initial version.