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

Function platform_win_destroy

StereoKitC/platforms/web.cpp:353–362  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

351///////////////////////////////////////////
352
353void platform_win_destroy(platform_win_t window) {
354 window_t* win = &web_window;
355
356 if (win->has_swapchain) {
357 skg_swapchain_destroy(&win->swapchain);
358 }
359
360 win->events.free();
361 *win = {};
362}
363
364///////////////////////////////////////////
365

Callers 2

window_shutdownFunction · 0.50
simulator_shutdownFunction · 0.50

Calls 2

skg_swapchain_destroyFunction · 0.85
freeMethod · 0.45

Tested by

no test coverage detected