#include <revolution/include/G2D.h>
void G2DDrawSprite( G2DSprite* sprite, G2DPosOri* posOri );
The G2DDrawSprite function renders a single sprite. However, because the G2D API focuses on rendering tile layers instead of sprites, optimizations are not performed (for example, collecting sprites of the same type).
|
Pointer to the G2DSprite structure. |
|
Pointer to the G2DPosOri structure that the sprite position and orientation have been passed to. |
03/01/2006 Initial version.