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

54 lines
1.6 KiB
Plaintext
Raw Normal View History

2016-02-16 09:53:44 +00:00
vkCreatePipelineLayout(3)
=========================
Name
----
vkCreatePipelineLayout - Creates a new pipeline layout object.
C Specification
---------------
include::../protos/vkCreatePipelineLayout.txt[]
Parameters
----------
pname:device::
The device with which to create the new pipeline layout object.
pname:pCreateInfo::
A pointer to structure specifying the properties of the new pipeline layout.
pname:pPipelineLayout::
Pointer to a variable to recieve a handle to the new pipeline layout object.
Description
-----------
fname:vkCreatePipelineLayout creates a new pipeline layout object for the device specified in
pname:device. The resulting pipeline layout object handle is written into the variable whose
address is given in pname:pPipelineLayout.
pname:pCreateInfo is a pointer to an instance of a slink:VkPipelineLayoutCreateInfo structure describing
the new pipeline layout. The definition of slink:VkPipelineLayoutCreateInfo is:
include::../structs/VkPipelineLayoutCreateInfo.txt[]
The pname:sType member of the slink:VkPipelineLayoutCreateInfo structure should be set to
ename:VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO. The pname:pNext member is reserved for use
by extensions and should be set to code:NULL.
The pname:setLayoutCount member specifies the number of descriptor sets to
include in the layout and pname:pSetLayouts is a pointer to an array of
pname:setLayoutCount sname:VkDescriptorSetLayout objects describing the
sets, each created with flink:vkCreateDescriptorSetLayout.
include::../validity/protos/vkCreatePipelineLayout.txt[]
See Also
--------
flink:vkCreateDescriptorSetLayout
include::footer.txt[]