[Previous] [Contents] [Index] [Next]

PhFreeTiles()

Return a list of tiles to the internal tile pool

Synopsis:

void PhFreeTiles( PhTile_t * tile);

Description:

This function returns the given list of tiles to the internal tile pool.

Photon maintains an internal pool of tiles because they're frequently used, and using a pool reduces the amount of time spent allocating and freeing the tiles. Use PhGetTile() to get a tile from the pool, and this function to return a list of tiles to the pool. Don't free() a PhTile_t structure.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PhAddMergeTiles(), PhClipTilings(), PhCoalesceTiles(), PhCopyTiles(), PhDeTranslateTiles(), PhGetTile(), PhIntersectTilings(), PhMergeTiles(), PhRectsToTiles(), PhSortTiles(), PhTile_t, PhTilesToRects(), PhTranslateTiles()


[Previous] [Contents] [Index] [Next]