Package org.lwjgl.vulkan
Class KHRGetMemoryRequirements2
- java.lang.Object
-
- org.lwjgl.vulkan.KHRGetMemoryRequirements2
-
public class KHRGetMemoryRequirements2 extends java.lang.ObjectThis extension provides new entry points to query memory requirements of images and buffers in a way that can be easily extended by other extensions, without introducing any further entry points. The Vulkan 1.0VkMemoryRequirementsandVkSparseImageMemoryRequirementsstructures do not include asType/pNext, this extension wraps them in new structures withsType/pNextso 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 eachvkGet*MemoryRequrementscommand in core Vulkan 1.0.Promotion to Vulkan 1.1
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.
- Name String
VK_KHR_get_memory_requirements2- Extension Type
- Device extension
- Registered Extension Number
- 147
- Revision
- 1
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Deprecation state
- Promoted to Vulkan 1.1
- Contact
- Jason Ekstrand jekstrand
- Last Modified Date
- 2017-09-05
- IP Status
- No known IP claims.
- Interactions and External Dependencies
- Promoted to Vulkan 1.1 Core
- Contributors
- Jason Ekstrand, Intel
- Jeff Bolz, NVIDIA
- Jesse Hall, Google
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringVK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAMEThe extension name.static intVK_KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSIONThe extension specification version.static intVK_STRUCTURE_TYPE_BUFFER_MEMORY_REQUIREMENTS_INFO_2_KHR
VK_STRUCTURE_TYPE_IMAGE_MEMORY_REQUIREMENTS_INFO_2_KHR
VK_STRUCTURE_TYPE_IMAGE_SPARSE_MEMORY_REQUIREMENTS_INFO_2_KHR
VK_STRUCTURE_TYPE_MEMORY_REQUIREMENTS_2_KHR
VK_STRUCTURE_TYPE_SPARSE_IMAGE_MEMORY_REQUIREMENTS_2_KHRExtendsVkStructureType.
-
Method Summary
-
-
-
Field Detail
-
VK_KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSION
The extension specification version.
-
VK_KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME
The extension name.
-
-
Method Detail
-
nvkGetImageMemoryRequirements2KHR
public static void nvkGetImageMemoryRequirements2KHR(VkDevice device, long pInfo, long pMemoryRequirements)
Unsafe version of:GetImageMemoryRequirements2KHR
-
vkGetImageMemoryRequirements2KHR
public static void vkGetImageMemoryRequirements2KHR(VkDevice device, VkImageMemoryRequirementsInfo2 pInfo, VkMemoryRequirements2 pMemoryRequirements)
- Parameters:
device- the logical device that owns the image.pInfo- a pointer to an instance of theVkImageMemoryRequirementsInfo2structure containing parameters required for the memory requirements query.pMemoryRequirements- points to an instance of theVkMemoryRequirements2structure in which the memory requirements of the image object are returned.
-
nvkGetBufferMemoryRequirements2KHR
public static void nvkGetBufferMemoryRequirements2KHR(VkDevice device, long pInfo, long pMemoryRequirements)
Unsafe version of:GetBufferMemoryRequirements2KHR
-
vkGetBufferMemoryRequirements2KHR
public static void vkGetBufferMemoryRequirements2KHR(VkDevice device, VkBufferMemoryRequirementsInfo2 pInfo, VkMemoryRequirements2 pMemoryRequirements)
- Parameters:
device- the logical device that owns the buffer.pInfo- a pointer to an instance of theVkBufferMemoryRequirementsInfo2structure containing parameters required for the memory requirements query.pMemoryRequirements- points to an instance of theVkMemoryRequirements2structure in which the memory requirements of the buffer object are returned.
-
nvkGetImageSparseMemoryRequirements2KHR
public static void nvkGetImageSparseMemoryRequirements2KHR(VkDevice device, long pInfo, long pSparseMemoryRequirementCount, long pSparseMemoryRequirements)
Unsafe version of:GetImageSparseMemoryRequirements2KHR- Parameters:
pSparseMemoryRequirementCount- a pointer to an integer related to the number of sparse memory requirements available or queried, as described below.
-
vkGetImageSparseMemoryRequirements2KHR
public static void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2 pInfo, java.nio.IntBuffer pSparseMemoryRequirementCount, @Nullable VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)
- Parameters:
device- the logical device that owns the image.pInfo- a pointer to an instance of theVkImageSparseMemoryRequirementsInfo2structure 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- eitherNULLor a pointer to an array ofVkSparseImageMemoryRequirements2structures.
-
vkGetImageSparseMemoryRequirements2KHR
public static void vkGetImageSparseMemoryRequirements2KHR(VkDevice device, VkImageSparseMemoryRequirementsInfo2 pInfo, int[] pSparseMemoryRequirementCount, @Nullable VkSparseImageMemoryRequirements2.Buffer pSparseMemoryRequirements)
Array version of:GetImageSparseMemoryRequirements2KHR
-
-