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

Function offscreen_init

StereoKitC/xr_backends/offscreen.cpp:31–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29///////////////////////////////////////////
30
31bool offscreen_init() {
32 device_data.has_hand_tracking = false;
33 device_data.has_eye_gaze = false;
34 device_data.tracking = device_tracking_none;
35 device_data.display_blend = display_blend_opaque;
36 device_data.display_type = display_type_flatscreen;
37 device_data.name = string_copy("Offscreen");
38 device_data.runtime = string_copy("None");
39
40 local = sk_malloc_zero_t(offscreen_backend_state_t, 1);
41
42 return true;
43}
44
45///////////////////////////////////////////
46

Callers 1

platform_set_modeFunction · 0.85

Calls 1

string_copyFunction · 0.85

Tested by

no test coverage detected