Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR :: VkImageLayout
- pattern VK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR :: VkStructureType
- pattern VK_PRESENT_MODE_SHARED_DEMAND_REFRESH_KHR :: VkPresentModeKHR
- pattern VK_PRESENT_MODE_SHARED_CONTINUOUS_REFRESH_KHR :: VkPresentModeKHR
- pattern VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION :: Integral a => a
- pattern VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME :: (Eq a, IsString a) => a
- vkGetSwapchainStatusKHR :: ("device" ::: VkDevice) -> ("swapchain" ::: VkSwapchainKHR) -> IO VkResult
- data VkSharedPresentSurfaceCapabilitiesKHR = VkSharedPresentSurfaceCapabilitiesKHR {}
Documentation
pattern VK_IMAGE_LAYOUT_SHARED_PRESENT_KHR :: VkImageLayout Source #
pattern VK_KHR_SHARED_PRESENTABLE_IMAGE_SPEC_VERSION :: Integral a => a Source #
pattern VK_KHR_SHARED_PRESENTABLE_IMAGE_EXTENSION_NAME :: (Eq a, IsString a) => a Source #
vkGetSwapchainStatusKHR :: ("device" ::: VkDevice) -> ("swapchain" ::: VkSwapchainKHR) -> IO VkResult Source #
vkGetSwapchainStatusKHR - Get a swapchain’s status
Parameters
device
is the device associated withswapchain
.
swapchain
is the swapchain to query.
Valid Usage (Implicit)
device
must be a validVkDevice
handle
swapchain
must be a validVkSwapchainKHR
handle- Both of
device
, andswapchain
must have been created, allocated, or retrieved from the sameVkInstance
Host Synchronization
- Host access to
swapchain
must be externally synchronized
Return Codes
[Success]
- VK_SUCCESS
VK_SUBOPTIMAL_KHR
[Failure]
- VK_ERROR_OUT_OF_HOST_MEMORY
VK_ERROR_OUT_OF_DEVICE_MEMORY
VK_ERROR_DEVICE_LOST
VK_ERROR_OUT_OF_DATE_KHR
VK_ERROR_SURFACE_LOST_KHR
See Also
data VkSharedPresentSurfaceCapabilitiesKHR Source #
VkSharedPresentSurfaceCapabilitiesKHR - structure describing capabilities of a surface for shared presentation
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_SHARED_PRESENT_SURFACE_CAPABILITIES_KHR
See Also
VkSharedPresentSurfaceCapabilitiesKHR | |
|