44 lines
1.0 KiB
Plaintext
44 lines
1.0 KiB
Plaintext
vkCreateDevice(3)
|
|
==================
|
|
|
|
Name
|
|
----
|
|
vkCreateDevice - Create a new device instance.
|
|
|
|
C Specification
|
|
---------------
|
|
|
|
include::../protos/vkCreateDevice.txt[]
|
|
|
|
Parameters
|
|
----------
|
|
|
|
pname:physicalDevice::
|
|
Handle to the physical device upon which to create the logical device.
|
|
|
|
pname:pCreateInfo::
|
|
Pointer to a structure containing creation info.
|
|
|
|
pname:pDevice::
|
|
Pointer to a variable to receive the handle to the new device instance.
|
|
|
|
Description
|
|
-----------
|
|
|
|
fname:vkCreateDevice creates a new device instance on the physical device specified by
|
|
pname:physicalDevice and places the resulting device handle in the variable pointed to
|
|
by pname:pDevice. Information about how the device should be created is passed in an
|
|
instance of slink:VkDeviceCreateInfo whose address is passed in pname:pCreateInfo.
|
|
The definition of slink:VkDeviceCreateInfo is:
|
|
|
|
include::../structs/VkDeviceCreateInfo.txt[]
|
|
|
|
include::../validity/protos/vkCreateDevice.txt[]
|
|
|
|
See Also
|
|
--------
|
|
|
|
flink:vkDestroyDevice
|
|
|
|
include::footer.txt[]
|