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

59 lines
1.5 KiB
Plaintext

// 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/
vkCreateRenderPass(3)
=====================
Name
----
vkCreateRenderPass - Create a new render pass object.
C Specification
---------------
// refBegin vkCreateRenderPass Create a new render pass object.
To create a render pass, call:
include::../api/protos/vkCreateRenderPass.txt[]
Parameters
----------
* pname:device is the logical device that creates the render pass.
* pname:pCreateInfo is a pointer to an instance of the
slink:VkRenderPassCreateInfo structure that describes the parameters of
the render pass.
* pname:pAllocator controls host memory allocation as described in the
<<memory-allocation, Memory Allocation>> chapter.
* pname:pRenderPass points to a sname:VkRenderPass handle in which the
resulting render pass object is returned.
Description
-----------
include::../validity/protos/vkCreateRenderPass.txt[]
See Also
--------
slink:VkAllocationCallbacks, slink:VkDevice, slink:VkRenderPass, slink:VkRenderPassCreateInfo
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#vkCreateRenderPass
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]