Showing the changes to interface/src/scripting/TestScriptingInterface.cpp (1 of 4 files). Show all
Unified · Split
| @@ -199,3 +199,9 @@ void TestScriptingInterface::setOtherAvatarsReplicaCount(int count) { · 198 unmodified lines | ||
| 199 | 199 | int TestScriptingInterface::getOtherAvatarsReplicaCount() { |
| 200 | 200 | return qApp->getOtherAvatarsReplicaCount(); |
| 201 | 201 | } |
| 202 | + | |
| 203 | +bool TestScriptingInterface::isTextureLoadingComplete() { | |
| 204 | + bool result; | |
| 205 | + QMetaObject::invokeMethod(qApp, "gpuTextureMemSizeStable", Qt::DirectConnection, Q_RETURN_ARG(bool, result)); | |
| 206 | + return result; | |
| 207 | +} | |