Replaced a ton of ConsoleMethods with the DefineConsoleMethod Macro.

This commit is contained in:
Vincent Gee 2014-11-03 22:42:51 -05:00
parent 378a933894
commit acb192e2a5
133 changed files with 1716 additions and 2087 deletions

View file

@ -58,16 +58,20 @@ U32 GFXTextureObject::dumpActiveTOs()
return smActiveTOCount;
}
#endif // TORQUE_DEBUG
DefineEngineFunction( dumpTextureObjects, void, (),,
"Dumps a list of all active texture objects to the console.\n"
"@note This function is only available in debug builds.\n"
"@ingroup GFX\n" )
{
#ifdef TORQUE_DEBUG
GFXTextureObject::dumpActiveTOs();
#endif
}
#endif // TORQUE_DEBUG
//-----------------------------------------------------------------------------
// GFXTextureObject
//-----------------------------------------------------------------------------