Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
379
void Platform::force_simulation_fps(float fps)
380
{
381
fixed_simulation_fps = true;
382
simulation_frame_time = 1 / fps;
383
}
384
385
void Platform::force_render(bool should_always_render)
386
{
Callers
1
handle_option
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected