2plEditorProcessViewWindow::~plEditorProcessViewWindow()
4 plGALDevice::GetDefaultDevice()->
WaitIdle();
6 PL_ASSERT_DEV(m_iReferenceCount == 0,
"The window is still being referenced, probably by a swapchain. Make sure to destroy all swapchains and call plGALDevice::WaitIdle before destroying a window.");
9plResult plEditorProcessViewWindow::UpdateWindow(plWindowHandle hParentWindow, plUInt16 uiWidth, plUInt16 uiHeight)
11 m_hWnd = hParentWindow;
13 m_uiHeight = uiHeight;
void WaitIdle()
Waits for the GPU to be idle and destroys any pending resources and GPU objects.
Definition Device.cpp:1433
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54