# NNS_G2dSetSpriteAttrEnable

## Syntax

      #include <nnsys/g2d/g2d_Softsprite.h>

      void NNS_G2dSetSpriteAttrEnable( u32 attr );

## Arguments

attr | [IN] One `NNSG2dSpriteAttr` value or a logical sum of several values to enable.

## Return Values

None.

## Description

Sets the various attributes that will be enabled when the software sprite is rendered. The more enabled attributes there are, the higher the render cost will be.

## See Also

`NNS_G2dDrawSprite*
` `NNS_G2dGetSpriteDefaultAttr
` `NNS_G2dIsSpriteAttrEnable
` `NNS_G2dSetSpriteDefaultAttr
`

## Revision History

2004/05/28 Initial version.

CONFIDENTIAL