MCPcopy Create free account
hub / github.com/NVIDIAGameWorks/Blast / drawPhysXGpuUI

Method drawPhysXGpuUI

samples/SampleBase/core/SampleController.cpp:77–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

75
76
77void 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}

Callers 1

drawUIMethod · 0.80

Calls 2

getUseGPUPhysicsMethod · 0.80
addDelayedCallMethod · 0.45

Tested by

no test coverage detected