G2DDrawSprite


C Specification

#include <revolution/include/G2D.h>
void G2DDrawSprite( G2DSprite* sprite, G2DPosOri* posOri );

Description

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).

Arguments

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

Return Values

None.

See Also

Revision History

03/01/2006 Initial version.