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

Function platform_win_rect

StereoKitC/platforms/web.cpp:394–401  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

392///////////////////////////////////////////
393
394recti_t platform_win_rect(platform_win_t window_id) {
395 if (window_id != 1) return {};
396 window_t* win = &web_window;
397
398 return recti_t{ 0, 0,
399 win->swapchain.width,
400 win->swapchain.height };
401}
402
403///////////////////////////////////////////
404

Callers 2

window_shutdownFunction · 0.50
simulator_shutdownFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected