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

Method Release

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

Source from the content-addressed store, hash-verified

26}
27
28void BackBufferVulkan::Release()
29{
30 Handle.Release();
31 Delete(RenderingDoneSemaphore);
32 Delete(ImageAcquiredSemaphore);
33 if (SubmitCmdBuffer)
34 {
35 SubmitCmdBuffer->Wait();
36 SubmitCmdBuffer = nullptr;
37 }
38 Device = nullptr;
39}
40
41GPUSwapChainVulkan::GPUSwapChainVulkan(GPUDeviceVulkan* device, Window* window)
42 : GPUResourceVulkan(device, StringView::Empty)

Callers 1

ReleaseBackBufferMethod · 0.45

Calls 2

DeleteFunction · 0.85
WaitMethod · 0.45

Tested by

no test coverage detected