#include <revolution/G2D.h> void G2DDrawSprite( G2DSprite *sprite, G2DPosOri *posOri );
sprite |
Pointer to the G2DSprite structure. |
|---|---|
| posOri | Pointer to the G2DPosOri structure to which the position and orientation of the sprite have been passed. |
None.
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.
None.
2006/03/01 Initial version.
CONFIDENTIAL