# NNSG2d_SetOamManExDrawOrderType

## Syntax

      #include <nnsys/g2d/g2d_OAMEx.h>

      void NNSG2d_SetOamManExDrawOrderType(
                                      NNSG2dOamManagerInstanceEx*    pOam,
                                      NNSG2dOamExDrawOrder           drawOrderType );

## Arguments

`pOam` | [OUT] Extended OAM manager entity
`drawOrderType` | [IN] Type of render order

## Return Values

None.

## Description

Sets the render order type for the Extended OAM Manager.
Note that the standard value for the OAM render order is `NNSG2D_OAMEX_DRAWORDER_BACKWARD`.
This is prescribed to maintain compatibility with earlier versions.
The following shows the definition of `NNSG2dOamExDrawOrder`, the types of render registration order.

    typedef enum NNSG2dOamExDrawOrder
    {
        NNSG2D_OAMEX_DRAWORDER_BACKWARD = 0x0, // Registered to the external module in the reverse order of the registered order
        NNSG2D_OAMEX_DRAWORDER_FORWARD  = 0x1  // Registered to the external module in the same order as the registered order

    }NNSG2dOamExDrawOrder;

## See Also

`NNS_G2dInitAffineManagerEx`

## Revision History

2005/03/28 Initial version.

CONFIDENTIAL