MCPcopy Create free account
hub / github.com/TorqueGameEngines/Torque3D / getDeviceInfoString

Method getDeviceInfoString

Engine/source/sfx/sfxSystem.cpp:484–496  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

482//-----------------------------------------------------------------------------
483
484String SFXSystem::getDeviceInfoString()
485{
486 // Make sure we have a valid device.
487 if( !mDevice )
488 return String();
489
490 return String::ToString( "%s\t%s\t%s\t%d\t%d",
491 mDevice->getProvider()->getName().c_str(),
492 mDevice->getName().c_str(),
493 mDevice->getUseHardware() ? "1" : "0",
494 mDevice->getMaxBuffers(),
495 mDevice->getCaps() );
496}
497
498//-----------------------------------------------------------------------------
499

Callers 1

sfxSystem.cppFile · 0.80

Calls 7

getProviderMethod · 0.80
getUseHardwareMethod · 0.80
getMaxBuffersMethod · 0.80
getCapsMethod · 0.80
StringClass · 0.50
c_strMethod · 0.45
getNameMethod · 0.45

Tested by

no test coverage detected