VkMemoryRequirements and VkSparseImageMemoryRequirements structures do not include sType and pNext members. This extension wraps them in new structures with these members, so an application can query a chain of memory requirements structures by constructing the chain and letting the implementation fill them in. A new command is added for each vkGet*MemoryRequrements command in core Vulkan 1.0.
All functionality in this extension is included in core Vulkan 1.1, with the KHR suffix omitted. The original type, enum and command names are still available as aliases of the core functionality.
VK_KHR_get_memory_requirements2| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static void | nvkGetBufferMemoryRequirements2KHR(VkDevice device, long pInfo, long pMemoryRequirements)
Unsafe version of: |
| public static void | nvkGetImageMemoryRequirements2KHR(VkDevice device, long pInfo, long pMemoryRequirements)
Unsafe version of: |
| public static void | nvkGetImageSparseMemoryRequirements2KHR(VkDevice device, long pInfo, long
a pointer to an integer related to the number of sparse memory requirements available or queried, as described below. pSparseMemoryRequirementCount, long pSparseMemoryRequirements)Unsafe version of: |
| public static void | vkGetBufferMemoryRequirements2KHR(VkDevice
the logical device that owns the buffer. device, VkBufferMemoryRequirementsInfo2 a pointer to a pInfo, VkMemoryRequirements2 VkBufferMemoryRequirementsInfo2 structure containing parameters required for the memory requirements query.a pointer to a pMemoryRequirements)VkMemoryRequirements2 structure in which the memory requirements of the buffer object are returned. |
| public static void | vkGetImageMemoryRequirements2KHR(VkDevice
the logical device that owns the image. device, VkImageMemoryRequirementsInfo2 a pointer to a pInfo, VkMemoryRequirements2 VkImageMemoryRequirementsInfo2 structure containing parameters required for the memory requirements query.a pointer to a pMemoryRequirements)VkMemoryRequirements2 structure in which the memory requirements of the image object are returned. |
| public static void | vkGetImageSparseMemoryRequirements2KHR(VkDevice
the logical device that owns the image. device, VkImageSparseMemoryRequirementsInfo2 a pointer to a pInfo, IntBuffer VkImageSparseMemoryRequirementsInfo2 structure containing parameters required for the memory requirements query.a pointer to an integer related to the number of sparse memory requirements available or queried, as described below. pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2.either pSparseMemoryRequirementsNULL or a pointer to an array of VkSparseImageMemoryRequirements2 structures. |
| public static void | vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2 pInfo, int[] pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2.
Array version of: |
| VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME The extension name. | |
| VK_KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR Extends Enum values: | |
| KHRGetMemoryRequirements2 | back to summary |
|---|---|
| protected KHRGetMemoryRequirements2() | |
| nvkGetBufferMemoryRequirements2KHR | back to summary |
|---|---|
| public static void nvkGetBufferMemoryRequirements2KHR(VkDevice device, long pInfo, long pMemoryRequirements) Unsafe version of: | |
| nvkGetImageMemoryRequirements2KHR | back to summary |
|---|---|
| public static void nvkGetImageMemoryRequirements2KHR(VkDevice device, long pInfo, long pMemoryRequirements) Unsafe version of: | |
| nvkGetImageSparseMemoryRequirements2KHR | back to summary |
|---|---|
| public static void nvkGetImageSparseMemoryRequirements2KHR(VkDevice device, long pInfo, long pSparseMemoryRequirementCount, long pSparseMemoryRequirements) Unsafe version of:
| |
| vkGetBufferMemoryRequirements2KHR | back to summary |
|---|---|
| public static void vkGetBufferMemoryRequirements2KHR(VkDevice device, VkBufferMemoryRequirementsInfo2 pInfo, VkMemoryRequirements2 pMemoryRequirements) See
| |
| vkGetImageMemoryRequirements2KHR | back to summary |
|---|---|
| public static void vkGetImageMemoryRequirements2KHR(VkDevice device, VkImageMemoryRequirementsInfo2 pInfo, VkMemoryRequirements2 pMemoryRequirements) See
| |
| vkGetImageSparseMemoryRequirements2KHR | back to summary |
|---|---|
| public static void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2 pInfo, IntBuffer pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2. See
| |
| vkGetImageSparseMemoryRequirements2KHR | back to summary |
|---|---|
| public static void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2 pInfo, int[] pSparseMemoryRequirementCount, VkSparseImageMemoryRequirements2. Array version of: | |