public class KHRGetMemoryRequirements2
extends java.lang.Object
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 |
|---|---|
static java.lang.String |
VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME
The extension name.
|
static int |
VK_KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSION
The extension specification version.
|
static int |
VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static void |
nvkGetBufferMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
long pInfo,
long pMemoryRequirements)
Unsafe version of:
GetBufferMemoryRequirements2KHR |
static void |
nvkGetImageMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
long pInfo,
long pMemoryRequirements)
Unsafe version of:
GetImageMemoryRequirements2KHR |
static void |
nvkGetImageSparseMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
long pInfo,
long pSparseMemoryRequirementCount,
long pSparseMemoryRequirements)
Unsafe version of:
GetImageSparseMemoryRequirements2KHR |
static void |
vkGetBufferMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
VkBufferMemoryRequirementsInfo2 pInfo,
VkMemoryRequirements2 pMemoryRequirements)
|
static void |
vkGetImageMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
VkImageMemoryRequirementsInfo2 pInfo,
VkMemoryRequirements2 pMemoryRequirements)
|
static void |
vkGetImageSparseMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
VkImageSparseMemoryRequirementsInfo2 pInfo,
int[] pSparseMemoryRequirementCount,
VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)
Array version of:
GetImageSparseMemoryRequirements2KHR |
static void |
vkGetImageSparseMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
VkImageSparseMemoryRequirementsInfo2 pInfo,
java.nio.IntBuffer pSparseMemoryRequirementCount,
VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)
|
public static final int VK_KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSION
public static final java.lang.String VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR
VkStructureType.
public static final int VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR
VkStructureType.
public static final int VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR
VkStructureType.
public static final int VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR
VkStructureType.
public static final int VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHR
VkStructureType.
public static void nvkGetImageMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
long pInfo,
long pMemoryRequirements)
GetImageMemoryRequirements2KHRpublic static void vkGetImageMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
VkImageMemoryRequirementsInfo2 pInfo,
VkMemoryRequirements2 pMemoryRequirements)
device - the logical device that owns the image.pInfo - a pointer to a VkImageMemoryRequirementsInfo2 structure containing parameters required for the memory requirements query.pMemoryRequirements - a pointer to a VkMemoryRequirements2 structure in which the memory requirements of the image object are returned.public static void nvkGetBufferMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
long pInfo,
long pMemoryRequirements)
GetBufferMemoryRequirements2KHRpublic static void vkGetBufferMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
VkBufferMemoryRequirementsInfo2 pInfo,
VkMemoryRequirements2 pMemoryRequirements)
device - the logical device that owns the buffer.pInfo - a pointer to a VkBufferMemoryRequirementsInfo2 structure containing parameters required for the memory requirements query.pMemoryRequirements - a pointer to a VkMemoryRequirements2 structure in which the memory requirements of the buffer object are returned.public static void nvkGetImageSparseMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
long pInfo,
long pSparseMemoryRequirementCount,
long pSparseMemoryRequirements)
GetImageSparseMemoryRequirements2KHRpSparseMemoryRequirementCount - a pointer to an integer related to the number of sparse memory requirements available or queried, as described below.public static void vkGetImageSparseMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
VkImageSparseMemoryRequirementsInfo2 pInfo,
java.nio.IntBuffer pSparseMemoryRequirementCount,
@Nullable
VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)
device - the logical device that owns the image.pInfo - a pointer to a VkImageSparseMemoryRequirementsInfo2 structure containing parameters required for the memory requirements query.pSparseMemoryRequirementCount - a pointer to an integer related to the number of sparse memory requirements available or queried, as described below.pSparseMemoryRequirements - either NULL or a pointer to an array of VkSparseImageMemoryRequirements2 structures.public static void vkGetImageSparseMemoryRequirements2KHR(org.lwjgl.vulkan.VkDevice device,
VkImageSparseMemoryRequirementsInfo2 pInfo,
int[] pSparseMemoryRequirementCount,
@Nullable
VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)
GetImageSparseMemoryRequirements2KHRCopyright LWJGL. All Rights Reserved. License terms.