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

Method getDeviceInfoString

Engine/source/sfx/sfxSystem.cpp:487–499  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

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