• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
2.Valid Usage (Implicit)
3****
4* [[VUID-vkAllocateMemory-device-parameter]] pname:device must: be a valid sname:VkDevice handle
5* [[VUID-vkAllocateMemory-pAllocateInfo-parameter]] pname:pAllocateInfo must: be a valid pointer to a valid sname:VkMemoryAllocateInfo structure
6* [[VUID-vkAllocateMemory-pAllocator-parameter]] If pname:pAllocator is not `NULL`, pname:pAllocator must: be a valid pointer to a valid sname:VkAllocationCallbacks structure
7* [[VUID-vkAllocateMemory-pMemory-parameter]] pname:pMemory must: be a valid pointer to a sname:VkDeviceMemory handle
8****
9
10.Return Codes
11****
12ifndef::doctype-manpage[]
13<<fundamentals-successcodes,Success>>::
14endif::doctype-manpage[]
15ifdef::doctype-manpage[]
16On success, this command returns::
17endif::doctype-manpage[]
18* ename:VK_SUCCESS
19ifndef::doctype-manpage[]
20<<fundamentals-errorcodes,Failure>>::
21endif::doctype-manpage[]
22ifdef::doctype-manpage[]
23On failure, this command returns::
24endif::doctype-manpage[]
25* ename:VK_ERROR_OUT_OF_HOST_MEMORY
26* ename:VK_ERROR_OUT_OF_DEVICE_MEMORY
27* ename:VK_ERROR_TOO_MANY_OBJECTS
28* ename:VK_ERROR_INVALID_EXTERNAL_HANDLE
29****
30
31