# NNS_G2dEntryOamManExOamWithAffineIdx

## Syntax

      #include <nnsys/g2d/g2d_OAMEx.h>

      BOOL NNS_G2dEntryOamManExOamWithAffineIdx(
                                          NNSG2dOamManagerInstanceEx*     pMan,
                                          const GXOamAttr*                pOam,
                                          u8                              priority,
                                          u16                             affineIdx );

## Arguments

`pMan` | [OUT] Extended OAM manager entity.
`pOam` | [IN] OAM attribute.
`priority` | [IN] Drawing priority.
`affineIdx` | [IN] Affine index.

## Return Values

Success or failure of registration.

## Description

Specifies the order of registration of OBJs in the extended OAM Manager when rendering, and registers the OBJs. This function specifies the affine index.

## Note on the Render Order for OAM Groups with the Same Display Priority

OAMs that have undergone affine transformation are managed on a separate list in the manager, and they are moved to the top of the normal OAM list after the actual affine parameter numbers have been resolved when the `NNS_G2dApplyOamManExToBaseModule` function is called. Accordingly, OAMs that have undergone affine transformation in OAM groups with the same display priority will be called before OAMs that have not undergone affine transformation. Therefore, registered function calls occurs before OAM that have not undergone affine transformation.

The name of this function has been changed from `NNS_G2dEntryNewOamWithAffineIdxEx`. The previous function remains under a different name to maintain compatibility.

## See Also

`NNS_G2dEntryNewOamWithAffineIdxEx`
`NNS_G2dEntryOamManExOam`

## Revision History

2005/03/28 Added caution regarding the render order for OAM groups with the same display priority.

2004/08/02 Renamed function.

2004/06/22 Initial version.

CONFIDENTIAL