#include <nnsys/g2d/g2d_Renderer.h>
NNS_G2D_INLINE void NNS_G2dSetRendererOverwriteEnable
(
NNSG2dRendererInstance* pRnd,
NNSG2dRendererOverwriteParam flag
)
NNS_G2D_INLINE void NNS_G2dSetRendererOverwriteDisable
(
NNSG2dRendererInstance* pRnd,
NNSG2dRendererOverwriteParam flag
)
pRend |
[OUT] Renderer entity |
| flag | [IN] Enumerator that indicates which parameter items to set (NNSG2dRendererOverwriteParam) |
None.
This function sets the OAM parameters for the renderer to overwrite the OAM. The overwriting feature is enabled using the NNS_G2dSetRendererOverwriteEnable() function, and is disabled using the NNS_G2dSetRendererOverwriteDisable() function. The parameters that were enabled with this function are overwritten with the values that were set by the NNS_G2dGetRendererOverwrite*() function. The overwriting of the affine transformation mode is executed regardless of the setting for this function.
The following is the definition of the enumerator NNSG2dRendererOverwriteParam that shows the parameter items to be set.
typedef enum NNSG2dRendererOverwriteParam
{
NNS_G2D_RND_OVERWRITE_NONE = 0x0, // Does not overwrite OBJ attribute
NNS_G2D_RND_OVERWRITE_PRIORITY = 0x1, // Drawing priority
NNS_G2D_RND_OVERWRITE_PLTTNO = 0x2, // Palette number
NNS_G2D_RND_OVERWRITE_MOSAIC = 0x4, // Mosaic ON/OFF
NNS_G2D_RND_OVERWRITE_OBJMODE = 0x8, // Object mode
NNS_G2D_RND_OVERWRITE_MAX
}NNSG2dRendererOverwriteParam;
11/10/2004 Added a new item to NNSG2dRendererOverwriteParam.
10/12/2004 Initial version.