Click or drag to resize
Ab4d.SharpEngine logo

VkCreateDevice Method


Namespace: Ab4d.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
public Result CreateDevice(
	PhysicalDevice physicalDevice,
	DeviceCreateInfo* pCreateInfo,
	AllocationCallbacks* pAllocator,
	Device* pDevice
)

Parameters

physicalDevice  PhysicalDevice
 
pCreateInfo  DeviceCreateInfo*
 
pAllocator  AllocationCallbacks*
 
pDevice  Device*
 

Return Value

Result
Remarks

Success codes:VK_SUCCESS

Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INITIALIZATION_FAILED, VK_ERROR_EXTENSION_NOT_PRESENT, VK_ERROR_FEATURE_NOT_PRESENT, VK_ERROR_TOO_MANY_OBJECTS, VK_ERROR_DEVICE_LOST

See Also