
void NNS_G2dDrawSprite( s16 px, s16 py, int pz,
int sx, int sy,
int U0, int V0, int U1, int V1 );
The API that specifies parameters and then carries out rendering is a simple function that sets up the UV value and renders the square polygons.
void NNS_G2dDrawSpriteSimple ( const NNSG2dSimpleSprite* pS );
void NNS_G2dDrawSpriteBasic ( const NNSG2dBasicSprite* pB );
void NNS_G2dDrawSpriteExtended( const NNSG2dExtendedSprite* pE );
The API that carries out rendering using the library data organization executes the various settings of the 3D graphics engine in the function.| Type | Possible Features | Application Example |
| Simple Sprite | Sprite position, rotation around Z-axis, priority, and alpha blend. | rendering of particles, etc. where the texture is the same and only the position and size of the sprite differ. |
| Basic Sprite | all features of Simple Sprite, texture specification, color modulation. | rendering of standard sprites. |
| Extended Sprite | all features of Basic Sprite, UV value setting, rotation center setting, vertical/horizontal flip. | rendering of sprites with effects such as UV animation. |
None.
12/06/2004 Initial version.