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

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