Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phfreetiles.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phfreetiles.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phfreetiles.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phfreetiles.html on line 8
Return a list of tiles to the internal tile pool
void PhFreeTiles( PhTile_t * tile);
ph
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.
Photon
Safety: | |
Interrupt handler |
No |
Signal handler |
No |
Thread |
No |
PhAddMergeTiles(),
PhClipTilings(),
PhCoalesceTiles(),
PhCopyTiles(),
PhDeTranslateTiles(),
PhGetTile(),
PhIntersectTilings(),
PhMergeTiles(),
PhRectsToTiles(),
PhSortTiles(),
PhTile_t,
PhTilesToRects(),
PhTranslateTiles()
“Using damage tiles”
in the Raw Drawing and Animation chapter of the
Photon Programmer's Guide
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/ph/phfreetiles.html on line 105
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/ph/phfreetiles.html on line 105