Interface JCSwapchainFrameType
public interface JCSwapchainFrameType
A frame acquired from a swapchain.
-
Method Details
-
format
VulkanFormat format()- Returns:
- The format of the image
-
size
VulkanExtent2D size()- Returns:
- The image size
-
imageView
VulkanImageViewType imageView()- Returns:
- The image view
-
submitAndPresent
Submit the given command buffers for execution, signal the frame's render-done semaphore, and submit the image for presentation.The manager-owned semaphores and fences that bound the frame slot and the image are used internally; the application only provides its own command buffers and any additional wait semaphores.
- Parameters:
info- The submit information- Throws:
VulkanException- On errors
-