# NNS_G2dSetSpriteAttrEnable

## C Specification

      #include <nnsys/g2d/g2d_Softsprite.h>

      void NNS_G2dSetSpriteAttrEnable( u32 attr );

## Arguments

attr | [IN] Individual values or the logical sum of `NNSG2dSpriteAttr` to set.

## Return Values

None.

## Description

Sets each kind of attribute that will be enabled when the software sprite is drawn. The more enabled attributes there are, the higher the draw cost will be.

## See Also

`NNS_G2dDrawSprite*`, `NNS_G2dGetDefaultAttr`, `NNS_G2dIsSpriteAttrEnable`, `NNS_G2dSetDefaultAttr`

## Revision History

05/28/2004 Initial version.