MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / force_simulation_fps

Method force_simulation_fps

framework/platform/platform.cpp:379–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377}
378
379void Platform::force_simulation_fps(float fps)
380{
381 fixed_simulation_fps = true;
382 simulation_frame_time = 1 / fps;
383}
384
385void Platform::force_render(bool should_always_render)
386{

Callers 1

handle_optionMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected