VK_KHR_external_semaphore_win32VK_KHR_external_semaphore| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_EXTERNAL_SEMAPHORE_WIN32_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkGetSemaphoreWin32HandleKHR(VkDevice device, long pGetWin32HandleInfo, long pHandle)
Unsafe version of: |
| public static int | nvkImportSemaphoreWin32HandleKHR(VkDevice device, long pImportSemaphoreWin32HandleInfo)
Unsafe version of: |
| public static int | vkGetSemaphoreWin32HandleKHR(VkDevice
the logical device that created the semaphore being exported. device, VkSemaphoreGetWin32HandleInfoKHR a pointer to a pGetWin32HandleInfo, PointerBuffer VkSemaphoreGetWin32HandleInfoKHR structure containing parameters of the export operation.will return the Windows handle representing the semaphore state. pHandle)Get a Windows HANDLE for a semaphore. |
| public static int | vkImportSemaphoreWin32HandleKHR(VkDevice
the logical device that created the semaphore. device, VkImportSemaphoreWin32HandleInfoKHR a pointer to a pImportSemaphoreWin32HandleInfo)VkImportSemaphoreWin32HandleInfoKHR structure specifying the semaphore and import parameters.Import a semaphore from a Windows HANDLE. |
| VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_EXTERNAL_SEMAPHORE_WIN32_EXTENSION_NAME The extension name. | |
| VK_KHR_EXTERNAL_SEMAPHORE_WIN32_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_EXTERNAL_SEMAPHORE_WIN32_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_D3D12_FENCE_SUBMIT_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_EXPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_WIN32_HANDLE_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SEMAPHORE_GET_WIN32_HANDLE_INFO_KHR Extends Enum values: | |
| KHRExternalSemaphoreWin32 | back to summary |
|---|---|
| protected KHRExternalSemaphoreWin32() | |
| nvkGetSemaphoreWin32HandleKHR | back to summary |
|---|---|
| public static int nvkGetSemaphoreWin32HandleKHR(VkDevice device, long pGetWin32HandleInfo, long pHandle) Unsafe version of: | |
| nvkImportSemaphoreWin32HandleKHR | back to summary |
|---|---|
| public static int nvkImportSemaphoreWin32HandleKHR(VkDevice device, long pImportSemaphoreWin32HandleInfo) Unsafe version of: | |
| vkGetSemaphoreWin32HandleKHR | back to summary |
|---|---|
| public static int vkGetSemaphoreWin32HandleKHR(VkDevice device, VkSemaphoreGetWin32HandleInfoKHR pGetWin32HandleInfo, PointerBuffer pHandle) Get a Windows HANDLE for a semaphore. C SpecificationTo export a Windows handle representing the payload of a semaphore, call:
DescriptionFor handle types defined as NT handles, the handles returned by Exporting a Windows handle from a semaphore may have side effects depending on the transference of the specified handle type, as described in Importing Semaphore Payloads. Valid Usage (Implicit)
Return Codes
See Also
| |
| vkImportSemaphoreWin32HandleKHR | back to summary |
|---|---|
| public static int vkImportSemaphoreWin32HandleKHR(VkDevice device, VkImportSemaphoreWin32HandleInfoKHR pImportSemaphoreWin32HandleInfo) Import a semaphore from a Windows HANDLE. C SpecificationTo import a semaphore payload from a Windows handle, call:
DescriptionImporting a semaphore payload from Windows handles does not transfer ownership of the handle to the Vulkan implementation. For handle types defined as NT handles, the application must release ownership using the Applications can import the same semaphore payload into multiple instances of Vulkan, into the same instance from which it was exported, and multiple times into a given Vulkan instance. Valid Usage (Implicit)
Return Codes
See Also
| |