Section Index


1. OpenAL || 2. Debugging || 3. String Manipulation || 4. Networking || 5. Console || 6. Device I/O || 7. File I/O
8. Packages || 9. Objects || 10. Event Scheduling || 11. Datablocks || 12. Video / Texturing || 13. Special || 14. Resource Management
15. Scene || 16. Containers and Raycasts || 17. Editors || 18. Build || 19. Time || 20. GUIs || 21. Math


This quick reference guide was taken directly out of The Game Programmer's Guide to Torque by Edward Maurina. It's an outstanding resource - a must for anyone wanting to get serious about programming in Torque.


Resource Management

dumpResourceStats()

Purpose
Use the dumpResourceStats function to dump a listing of the currently in-use resources to the console. This will include such things as sound files, font files, etc.

Returns
No return value.

Notes
For this to work, the engine must have been compiled with TORQUE_DEBUG defined.

See Also
purgeResources

dumpResourceStats();



purgeResources()

Purpose
Use the purgeResources function to purge all game resources.

Returns
No return value.

See Also
clearTextureHolds, dumpResourceStats, dumpTextureStats, flushTextureCache

purgeResources();


Section Index


1. OpenAL || 2. Debugging || 3. String Manipulation || 4. Networking || 5. Console || 6. Device I/O || 7. File I/O
8. Packages || 9. Objects || 10. Event Scheduling || 11. Datablocks || 12. Video / Texturing || 13. Special || 14. Resource Management
15. Scene || 16. Containers and Raycasts || 17. Editors || 18. Build || 19. Time || 20. GUIs || 21. Math