MCPcopy Create free account
hub / github.com/defold/defold / SetSceneResolution

Function SetSceneResolution

engine/gui/src/gui.cpp:267–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

265 }
266
267 void SetSceneResolution(HScene scene, uint32_t width, uint32_t height)
268 {
269 scene->m_Width = width;
270 scene->m_Height = height;
271 scene->m_ResChanged = 1;
272 }
273
274 void GetPhysicalResolution(HScene scene, uint32_t& width, uint32_t& height)
275 {

Callers 9

TEST_FFunction · 0.50
InitializeScriptSceneFunction · 0.50
OnWindowResizeCallbackFunction · 0.50
SetUpMethod · 0.50
TEST_FFunction · 0.50
SetupGuiTestSceneFunction · 0.50
OnWindowResizeCallbackFunction · 0.50
ApplyLayoutFromScriptFunction · 0.50
SetupGuiSceneFunction · 0.50

Calls

no outgoing calls

Tested by 6

TEST_FFunction · 0.40
InitializeScriptSceneFunction · 0.40
OnWindowResizeCallbackFunction · 0.40
SetUpMethod · 0.40
TEST_FFunction · 0.40
SetupGuiTestSceneFunction · 0.40