MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Samples / resize

Method resize

framework/platform/window.cpp:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33Window::Extent Window::resize(const Extent &new_extent)
34{
35 if (properties.resizable)
36 {
37 properties.extent.width = new_extent.width;
38 properties.extent.height = new_extent.height;
39 }
40
41 return properties.extent;
42}
43
44const Window::Extent &Window::get_extent() const
45{

Callers 3

window_size_callbackFunction · 0.45
get_propsFunction · 0.45
on_app_cmdFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected