Click or drag to resize
Ab4d.SharpEngine logo

VkAllocateMemory Method


Namespace: Ab4d.Vulkan
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 1.0.8740+deb2991acfe86a95cca780cd4f82bcae2805c1a5
Syntax
C#
public Result AllocateMemory(
	Device device,
	MemoryAllocateInfo* pAllocateInfo,
	AllocationCallbacks* pAllocator,
	DeviceMemory* pMemory
)

Parameters

device  Device
 
pAllocateInfo  MemoryAllocateInfo*
 
pAllocator  AllocationCallbacks*
 
pMemory  DeviceMemory*
 

Return Value

Result

[Missing <returns> documentation for "M:Ab4d.Vulkan.Vk.AllocateMemory(Ab4d.Vulkan.Device,Ab4d.Vulkan.MemoryAllocateInfo*,Ab4d.Vulkan.AllocationCallbacks*,Ab4d.Vulkan.DeviceMemory*)"]

Remarks

Success codes:VK_SUCCESS

Error codes:VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INVALID_EXTERNAL_HANDLE, VK_ERROR_INVALID_OPAQUE_CAPTURE_ADDRESS_KHR

See Also