Click or drag to resize
Ab4d.SharpEngine logo

VkAcquireNextImage Method


Namespace: Ab4d.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public Result AcquireNextImage(
	Device device,
	SwapchainKHR swapchain,
	ulong timeout,
	Semaphore semaphore,
	Fence fence,
	uint* pImageIndex
)

Parameters

device  Device
 
swapchain  SwapchainKHR
 
timeout  UInt64
 
semaphore  Semaphore
 
fence  Fence
 
pImageIndex  UInt32*
 

Return Value

Result
Remarks

Required Extension: VK_KHR_swapchain

Success codes:VK_SUCCESS, VK_TIMEOUT, VK_NOT_READY, VK_SUBOPTIMAL_KHR

Error codes: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, VK_ERROR_FULL_SCREEN_EXCLUSIVE_MODE_LOST_EXT

See Also