G2DDrawSprite

Syntax

#include <revolution/G2D.h>

void G2DDrawSprite( G2DSprite *sprite, G2DPosOri *posOri );

Arguments

sprite Pointer to the G2DSprite structure.
posOri Pointer to the G2DPosOri structure to which the position and orientation of the sprite have been passed.

Return Values

None.

Description

The G2DDrawSprite function renders a single sprite. However, the G2D API focuses more on rendering the tile layer than sprites, so there is no optimization for sprite rendering, such as collecting sprites of the same type.

See Also

None.

Revision History

2006/03/01 Initial version.


CONFIDENTIAL