acquireSwapchainTexture
Waits for the next swapchain texture of window and returns it, or null when the window cannot be drawn to right now, such as while it is minimized. The texture is valid until this command buffer is submitted.
Throws
if the swapchain cannot be acquired.