NNS_G2dGetRendererOverwrite*

Syntax

#include <nnsys/g2d/g2d_Renderer.h>

    
    NNS_G2D_INLINE u16 NNS_G2dGetRendererOverwritePriority
    (
        const NNSG2dRendererInstance* pRend
    );

    NNS_G2D_INLINE u16 NNS_G2dGetRendererOverwritePlttNo
    (
        const NNSG2dRendererInstance* pRend    
    );
    
    NNS_G2D_INLINE u16 NNS_G2dGetRendererOverwritePlttNoOffset
    (
        const NNSG2dRendererInstance* pRend    
    );

    NNS_G2D_INLINE BOOL NNS_G2dGetRendererOverwriteMosaicFlag
    (
        const NNSG2dRendererInstance* pRend    
    );
    
    NNS_G2D_INLINE GXOamMode NNS_G2dGetRendererOverwriteOBJMode
    (
        const NNSG2dRendererInstance* pRend    
    );
    
  

Arguments

pRend Renderer entity

Return Values

Parameters that the renderer uses for overwriting the OAM.

Description

Gets the parameter values that are used for overwriting the OBJ that was drawn by the renderer. NNS_G2dGetRendererOverwritePriority obtains the drawing priority. NNS_G2dGetRendererOverwritePlttNo obtains the palette number. The NNS_G2dGetRendererOverwritePlttNoOffset gets the palette number as an add-on difference value. NNS_G2dSetRendererOverwriteMosaicFlag obtains the mosaic flag. The NNS_G2dSetRendererOverwriteOBJMode function gets 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_G2dSetRendererOverwrite*

Revision History

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


CONFIDENTIAL