Vulkan-Docs/doc/specs/vulkan/man/VkMemoryRequirements.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/
VkMemoryRequirements(3)
=======================
Name
----
VkMemoryRequirements - Structure specifying memory requirements
C Specification
---------------
// refBegin VkMemoryRequirements - Structure specifying memory requirements
The sname:VkMemoryRequirements structure is defined as:
include::../api/structs/VkMemoryRequirements.txt[]
Members
-------
* pname:size is the size, in bytes, of the memory allocation required: for
the resource.
* pname:alignment is the alignment, in bytes, of the offset within the
allocation required: for the resource.
* pname:memoryTypeBits is a bitmask and contains one bit set for every
supported memory type for the resource. Bit `i` is set if and only if
the memory type `i` in the sname:VkPhysicalDeviceMemoryProperties
structure for the physical device is supported for the resource.
Description
-----------
include::../validity/structs/VkMemoryRequirements.txt[]
See Also
--------
basetype:VkDeviceSize, flink:vkGetBufferMemoryRequirements, flink:vkGetImageMemoryRequirements
Document Notes
--------------
For more information, see the Vulkan Specification at URL
https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html#VkMemoryRequirements
This page is extracted from the Vulkan Specification.
Fixes and changes should be made to the Specification,not directly.
include::footer.txt[]