Vulkan-Docs/doc/specs/vulkan/man/vkCreateBuffer.txt

43 lines
1018 B
Plaintext

vkCreateBuffer(3)
==================
Name
----
vkCreateBuffer - Create a new buffer object.
C Specification
---------------
include::../protos/vkCreateBuffer.txt[]
Parameters
----------
pname:device::
The device with which to create the new buffer object.
pname:pCreateInfo::
Pointer to data structure containing information about the object to be created.
pname:pBuffer::
Pointer to a variable to recieve a handle to the new buffer object.
Description
-----------
fname:vkCreateBuffer creates a new buffer object using the device specified in pname:device. The
resulting buffer object handle is written into the variable whose address is given in
pname:pBuffer. pname:pCreateInfo is a pointer to a data structure describing the buffer to be
created and is of type slink:VkBufferCreateInfo, whose definition is:
include::../structs/VkBufferCreateInfo.txt[]
include::../validity/protos/vkCreateBuffer.txt[]
See Also
--------
flink:vkCreateImage, flink:vkCreateBufferView
include::footer.txt[]