MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / Resize

Method Resize

Source/Engine/GraphicsDevice/Vulkan/GPUSwapChainVulkan.cpp:158–168  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

156}
157
158bool GPUSwapChainVulkan::Resize(int32 width, int32 height)
159{
160 // Check if size won't change
161 if (width == _width && height == _height)
162 return false;
163
164 // Wait for GPU to flush commands
165 _device->WaitForGPU();
166
167 return CreateSwapChain(width, height);
168}
169
170void GPUSwapChainVulkan::CopyBackbuffer(GPUContext* context, GPUTexture* dst)
171{

Callers 14

OnInitMethod · 0.45
initHandlesMethod · 0.45
OnReleaseGPUMethod · 0.45
ReleaseMethod · 0.45
AddBindingsForStageMethod · 0.45
CompileMethod · 0.45
OnReleaseGPUMethod · 0.45
CreateSwapChainMethod · 0.45
CreateMethod · 0.45
SavePipelineCacheMethod · 0.45

Calls 1

WaitForGPUMethod · 0.45

Tested by

no test coverage detected