MCPcopy Create free account
hub / github.com/BabylonJS/BabylonNative / UpdateWindowSize

Function UpdateWindowSize

Apps/Playground/Win32/App.cpp:157–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

155 }
156
157 void UpdateWindowSize(size_t width, size_t height)
158 {
159 runtime->Dispatch([width, height](Napi::Env env) {
160 Babylon::Plugins::NativeWindow::UpdateSize(env, width, height);
161 });
162 }
163}
164
165int APIENTRY wWinMain(_In_ HINSTANCE hInstance,

Callers 1

WndProcFunction · 0.70

Calls 2

UpdateSizeFunction · 0.85
DispatchMethod · 0.45

Tested by

no test coverage detected