Click or drag to resize
Ab4d.SharpEngine logo

VkAcquireNextImage Method


Namespace: Ab4d.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
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

[Missing <returns> documentation for "M:Ab4d.Vulkan.Vk.AcquireNextImage(Ab4d.Vulkan.Device,Ab4d.Vulkan.SwapchainKHR,System.UInt64,Ab4d.Vulkan.Semaphore,Ab4d.Vulkan.Fence,System.UInt32*)"]

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