public class EXTExternalMemoryHost
extends java.lang.Object
VK_EXT_external_memory_hostVK_KHR_external_memory| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME
The extension name.
|
static int |
VK_EXT_EXTERNAL_MEMORY_HOST_SPEC_VERSION
The extension specification version.
|
static int |
VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT
Extends
VkExternalMemoryHandleTypeFlagBits. |
static int |
VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT
Extends
VkExternalMemoryHandleTypeFlagBits. |
static int |
VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT
Extends
VkStructureType. |
static int |
VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT
Extends
VkStructureType. |
| Modifier and Type | Method and Description |
|---|---|
static int |
nvkGetMemoryHostPointerPropertiesEXT(org.lwjgl.vulkan.VkDevice device,
int handleType,
long pHostPointer,
long pMemoryHostPointerProperties)
Unsafe version of:
GetMemoryHostPointerPropertiesEXT |
static int |
vkGetMemoryHostPointerPropertiesEXT(org.lwjgl.vulkan.VkDevice device,
int handleType,
long pHostPointer,
VkMemoryHostPointerPropertiesEXT pMemoryHostPointerProperties)
Get properties of external memory host pointer.
|
public static final int VK_EXT_EXTERNAL_MEMORY_HOST_SPEC_VERSION
public static final java.lang.String VK_EXT_EXTERNAL_MEMORY_HOST_EXTENSION_NAME
public static final int VK_STRUCTURE_TYPE_IMPORT_MEMORY_HOST_POINTER_INFO_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_MEMORY_HOST_POINTER_PROPERTIES_EXT
VkStructureType.
public static final int VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_EXTERNAL_MEMORY_HOST_PROPERTIES_EXT
VkStructureType.
public static final int VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT
VkExternalMemoryHandleTypeFlagBits.
public static final int VK_EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT
VkExternalMemoryHandleTypeFlagBits.
public static int nvkGetMemoryHostPointerPropertiesEXT(org.lwjgl.vulkan.VkDevice device,
int handleType,
long pHostPointer,
long pMemoryHostPointerProperties)
GetMemoryHostPointerPropertiesEXTpublic static int vkGetMemoryHostPointerPropertiesEXT(org.lwjgl.vulkan.VkDevice device,
int handleType,
long pHostPointer,
VkMemoryHostPointerPropertiesEXT pMemoryHostPointerProperties)
To determine the correct parameters to use when importing host pointers, call:
VkResult vkGetMemoryHostPointerPropertiesEXT(
VkDevice device,
VkExternalMemoryHandleTypeFlagBits handleType,
const void* pHostPointer,
VkMemoryHostPointerPropertiesEXT* pMemoryHostPointerProperties);
handleType must be EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT or EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXTpHostPointer must be a pointer aligned to an integer multiple of VkPhysicalDeviceExternalMemoryHostPropertiesEXT::minImportedHostPointerAlignmenthandleType is EXTERNAL_MEMORY_HANDLE_TYPE_HOST_ALLOCATION_BIT_EXT, pHostPointer must be a pointer to host memoryhandleType is EXTERNAL_MEMORY_HANDLE_TYPE_HOST_MAPPED_FOREIGN_MEMORY_BIT_EXT, pHostPointer must be a pointer to host mapped foreign memorydevice must be a valid VkDevice handlehandleType must be a valid VkExternalMemoryHandleTypeFlagBits valuepMemoryHostPointerProperties must be a valid pointer to a VkMemoryHostPointerPropertiesEXT structuredevice - the logical device that will be importing pHostPointer.handleType - the type of the handle pHostPointer.pHostPointer - the host pointer to import from.pMemoryHostPointerProperties - a pointer to a VkMemoryHostPointerPropertiesEXT structure in which the host pointer properties are returned.Copyright LWJGL. All Rights Reserved. License terms.