| 75 | |
| 76 | |
| 77 | void SampleController::drawPhysXGpuUI() |
| 78 | { |
| 79 | // GPU Physics |
| 80 | bool useGPU = getPhysXController().getUseGPUPhysics(); |
| 81 | if (ImGui::Checkbox("Use GPU Physics", &useGPU)) |
| 82 | { |
| 83 | getCommonUIController().addDelayedCall([=]() { setUseGPUPhysics(useGPU); }, "Loading..."); |
| 84 | } |
| 85 | } |
no test coverage detected