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

Developer

API Reference

ISPRITE_SETTRANSFORMTABLE()

Brew Release
Brew MP 1.0.2
See Also
ISPRITE_DrawSprites(), AEESpriteCmd
Description
This function is used to tell the sprite engine where to lookup transformations for sprites with the SPRITE_MATRIX_TRANSFORM attribute set. The unMatrixTransform field of AEESpriteCmd specifies which table entry to use.
Params
po
[in]:
Pointer to ISprite interface.
pTransformTable
[in]:
Array of AEETransformMatrix structures.
Interface
  • ISPRITE
Prototype
  •    int ISPRITE_SetTransformTable(ISprite *po, AEETransformMatrix *pTransformTable);
    
Return
  • SUCCESS: if successful.
Side Effect
  • None
Comments
The sprite engine does not make a copy of the table, nor will it ever try to free the table. The caller is responsible to deallocating the table's memory at the correct time.