// Copyright (c) 2014-2016 Khronos Group. This work is licensed under a // Creative Commons Attribution 4.0 International License; see // http://creativecommons.org/licenses/by/4.0/ vkCreateBuffer(3) ================= Name ---- vkCreateBuffer - Create a new buffer object. C Specification --------------- // refBegin vkCreateBuffer Create a new buffer object. To create buffers, call: include::../api/protos/vkCreateBuffer.txt[] Parameters ---------- * pname:device is the logical device that creates the buffer object. * pname:pCreateInfo is a pointer to an instance of the sname:VkBufferCreateInfo structure containing parameters affecting creation of the buffer. * pname:pAllocator controls host memory allocation as described in the <> chapter. * pname:pBuffer points to a sname:VkBuffer handle in which the resulting buffer object is returned. Description ----------- include::../validity/protos/vkCreateBuffer.txt[] See Also -------- slink:VkAllocationCallbacks, slink:VkBuffer, slink:VkBufferCreateInfo, slink:VkDevice Document Notes -------------- For more information, see the Vulkan Specification at URL https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCreateBuffer This page is extracted from the Vulkan Specification. Fixes and changes should be made to the Specification,not directly. include::footer.txt[]