VK_KHR_external_memory_win32VK_KHR_external_memory| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_EXTERNAL_MEMORY_WIN32_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkGetMemoryWin32HandleKHR(VkDevice device, long pGetWin32HandleInfo, long pHandle)
Unsafe version of: |
| public static int | nvkGetMemoryWin32HandlePropertiesKHR(VkDevice device, int handleType, long handle, long pMemoryWin32HandleProperties)
Unsafe version of: |
| public static int | vkGetMemoryWin32HandleKHR(VkDevice
the logical device that created the device memory being exported. device, VkMemoryGetWin32HandleInfoKHR a pointer to a pGetWin32HandleInfo, PointerBuffer VkMemoryGetWin32HandleInfoKHR structure containing parameters of the export operation.will return the Windows handle representing the payload of the device memory object. pHandle)Get a Windows HANDLE for a memory object. |
| public static int | vkGetMemoryWin32HandlePropertiesKHR(VkDevice
the logical device that will be importing device, int handle.a handleType, long VkExternalMemoryHandleTypeFlagBits value specifying the type of the handle handle.the handle which will be imported. handle, VkMemoryWin32HandlePropertiesKHR a pointer to a pMemoryWin32HandleProperties)VkMemoryWin32HandlePropertiesKHR structure in which properties of handle are returned.Get Properties of External Memory Win32 Handles. |
| VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_EXTERNAL_MEMORY_WIN32_EXTENSION_NAME The extension name. | |
| VK_KHR_EXTERNAL_MEMORY_WIN32_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_EXTERNAL_MEMORY_WIN32_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_EXPORT_MEMORY_WIN32_HANDLE_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_IMPORT_MEMORY_WIN32_HANDLE_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_MEMORY_GET_WIN32_HANDLE_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_MEMORY_WIN32_HANDLE_PROPERTIES_KHR Extends Enum values: | |
| KHRExternalMemoryWin32 | back to summary |
|---|---|
| protected KHRExternalMemoryWin32() | |
| nvkGetMemoryWin32HandleKHR | back to summary |
|---|---|
| public static int nvkGetMemoryWin32HandleKHR(VkDevice device, long pGetWin32HandleInfo, long pHandle) Unsafe version of: | |
| nvkGetMemoryWin32HandlePropertiesKHR | back to summary |
|---|---|
| public static int nvkGetMemoryWin32HandlePropertiesKHR(VkDevice device, int handleType, long handle, long pMemoryWin32HandleProperties) Unsafe version of: | |
| vkGetMemoryWin32HandleKHR | back to summary |
|---|---|
| public static int vkGetMemoryWin32HandleKHR(VkDevice device, VkMemoryGetWin32HandleInfoKHR pGetWin32HandleInfo, PointerBuffer pHandle) Get a Windows HANDLE for a memory object. C SpecificationTo export a Windows handle representing the payload of a Vulkan device memory object, call:
DescriptionFor handle types defined as NT handles, the handles returned by NoteNon-NT handle types do not add a reference to their associated payload. If the original object owning the payload is destroyed, all resources and handles sharing that payload will become invalid. Valid Usage (Implicit)
Return Codes
See Also
| |
| vkGetMemoryWin32HandlePropertiesKHR | back to summary |
|---|---|
| public static int vkGetMemoryWin32HandlePropertiesKHR(VkDevice device, int handleType, long handle, VkMemoryWin32HandlePropertiesKHR pMemoryWin32HandleProperties) Get Properties of External Memory Win32 Handles. C SpecificationWindows memory handles compatible with Vulkan may also be created by non-Vulkan APIs using methods beyond the scope of this specification. To determine the correct parameters to use when importing such handles, call:
Valid Usage
Valid Usage (Implicit)
Return Codes
See Also
| |