MCPcopy Create free account
hub / github.com/StereoKit/StereoKit / sk_step_end

Function sk_step_end

StereoKitC/stereokit.cpp:333–343  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331///////////////////////////////////////////
332
333bool32_t sk_step_end() {
334 local.app_system->profile_step_duration += stm_since(local.app_system->profile_frame_start);
335 local.app_system->profile_step_count += 1;
336
337 systems_step_partial(system_run_from, local.app_system_idx+1);
338
339 if (device_display_get_type() == display_type_flatscreen && local.focus != app_focus_active && !local.settings.disable_unfocused_sleep)
340 platform_sleep(100);
341 local.in_step = false;
342 return local.running;
343}
344
345///////////////////////////////////////////
346

Callers 2

sk_shutdownFunction · 0.85
sk_stepFunction · 0.85

Calls 4

stm_sinceFunction · 0.85
systems_step_partialFunction · 0.85
device_display_get_typeFunction · 0.85
platform_sleepFunction · 0.50

Tested by

no test coverage detected