57 lines
1.4 KiB
Plaintext
57 lines
1.4 KiB
Plaintext
VkBufferCreateInfo(3)
|
|
=====================
|
|
|
|
Name
|
|
----
|
|
VkBufferCreateInfo - Structure specifying the parameters of a newly created buffer object.
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
include::../structs/VkBufferCreateInfo.txt[]
|
|
|
|
Fields
|
|
------
|
|
|
|
pname:sType::
|
|
Structure type. Must be ename:VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO.
|
|
|
|
pname:pNext::
|
|
Pointer to next structure in the structure chain when applicable.
|
|
|
|
pname:size::
|
|
Size of the buffer in bytes.
|
|
|
|
pname:usage::
|
|
Allowed usages of the buffer (see elink:VkBufferUsageFlags for more detail).
|
|
|
|
pname:flags::
|
|
Other properties of the buffer (see elink:VkBufferCreateFlags for more detail).
|
|
|
|
pname:sharingMode::
|
|
Sharing mode used for the buffer (see elink:VkSharingMode for more detail).
|
|
|
|
pname:queueFamilyIndexCount::
|
|
Number of queue families that can access the buffer in case
|
|
pname:sharingMode is ename:VK_SHARING_MODE_CONCURRENT.
|
|
|
|
pname:pQueueFamilyIndices::
|
|
Array of pname:queueFamilyIndexCount queue family indices specifying the
|
|
set of queue families that can access the buffer in case
|
|
pname:sharingMode is ename:VK_SHARING_MODE_CONCURRENT.
|
|
|
|
Description
|
|
-----------
|
|
|
|
This structure is used to specify the parameters of buffer objects created using
|
|
flink:vkCreateBuffer.
|
|
|
|
include::../validity/structs/VkBufferCreateInfo.txt[]
|
|
|
|
See Also
|
|
--------
|
|
|
|
flink:vkCreateBuffer
|
|
|
|
include::footer.txt[]
|