API Reference | developer.brewmp.com API Reference | developer.brewmp.com

Developer

API Reference

ISPRITE_DRAWSPRITES()

Brew Release
Brew MP 1.0.2
See Also
ISPRITE_SetDestination(), ISPRITE_SetTransformTable(), AEESpriteCmd
Description
This function causes the sprites in the pCmds array to be drawn. The sprite engine will iterate through the array in order four times. The first pass will only draw sprites that have the unLayer field set to 0. Subsequent passes will draw layers 1, 2, and 3, respectively. The array is terminated by a dummy entry with unSpriteSize set to SPRITE_SIZE_END. All sprites are drawn to the bitmap specified by ISPRITE_SetDestination().
Params
po
[in]:
Pointer to ISprite interface.
pCmds
[in]:
Array of sprite commands.
Interface
  • ISPRITE
Prototype
  •    int ISPRITE_DrawSprites(ISprite *po, AEESpriteCmd *pCmds);
    
Return
  • SUCCESS: if successful. EBADPARM: if pCmds is NULL.
Side Effect
  • None
Comments
None