# NNS_G2dApplyOamManagerToHWSprite

## C Specification

      #include <nnsys/g2d/g2d_Oam.h>

      void NNS_G2dApplyOamManagerToHWSprite
      (
              NNSG2dOamManagerInstance*       pMan,
              const NNSG2dImageAttr*          pTexImageAttr,
              u32                             texBaseAddr,
              u32                             pltBaseAddr
      );

## Arguments

`pMan` | [IN] OAM manager entity
pTexImageAttr | [IN] Texture attribute
texBaseAddr | [IN] Texture base address
pltBaseAddr | [IN] Palette base address

## Return Values

None.

## Description

Draws the contents of the internal buffer using the 3D graphics engine. Designates the argument information that is used to set the texture data and palette data that is used by the 3D graphics engine. The camera settings must be completed in advance. Use `NNS_G2dSetupSoftwareSpriteCamera` for the camera settings. `NNS_G2dApplyToHWSoftEmu` has undergone a name change. This function will remain to preserve compatibility.

## See Also

`NNS_G2dApplyToHWSoftEmu`, `NNS_G2dApplyOamManagerToHW`, `NNS_G2dSetupSoftwareSpriteCamera`

## Revision History

08/02/2004 Renamed function.
05/28/2004 Initial version.