VK_KHR_external_semaphore_fdVK_KHR_external_semaphore or Version 1.1| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_EXTERNAL_SEMAPHORE_FD_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | nvkGetSemaphoreFdKHR(VkDevice device, long pGetFdInfo, long pFd)
Unsafe version of: |
| public static int | nvkImportSemaphoreFdKHR(VkDevice device, long pImportSemaphoreFdInfo)
Unsafe version of: |
| public static int | vkGetSemaphoreFdKHR(VkDevice
the logical device that created the semaphore being exported. device, VkSemaphoreGetFdInfoKHR a pointer to a pGetFdInfo, IntBuffer VkSemaphoreGetFdInfoKHR structure containing parameters of the export operation.will return the file descriptor representing the semaphore payload. pFd)Get a POSIX file descriptor handle for a semaphore. |
| public static int | vkGetSemaphoreFdKHR(VkDevice device, VkSemaphoreGetFdInfoKHR pGetFdInfo, int[] pFd)
Array version of: |
| public static int | vkImportSemaphoreFdKHR(VkDevice
the logical device that created the semaphore. device, VkImportSemaphoreFdInfoKHR a pointer to a pImportSemaphoreFdInfo)VkImportSemaphoreFdInfoKHR structure specifying the semaphore and import parameters.Import a semaphore from a POSIX file descriptor. |
| VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_EXTERNAL_SEMAPHORE_FD_EXTENSION_NAME The extension name. | |
| VK_KHR_EXTERNAL_SEMAPHORE_FD_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_EXTERNAL_SEMAPHORE_FD_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_IMPORT_SEMAPHORE_FD_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_SEMAPHORE_GET_FD_INFO_KHR Extends Enum values: | |
| KHRExternalSemaphoreFd | back to summary |
|---|---|
| protected KHRExternalSemaphoreFd() | |
| nvkGetSemaphoreFdKHR | back to summary |
|---|---|
| public static int nvkGetSemaphoreFdKHR(VkDevice device, long pGetFdInfo, long pFd) Unsafe version of: | |
| nvkImportSemaphoreFdKHR | back to summary |
|---|---|
| public static int nvkImportSemaphoreFdKHR(VkDevice device, long pImportSemaphoreFdInfo) Unsafe version of: | |
| vkGetSemaphoreFdKHR | back to summary |
|---|---|
| public static int vkGetSemaphoreFdKHR(VkDevice device, VkSemaphoreGetFdInfoKHR pGetFdInfo, IntBuffer pFd) Get a POSIX file descriptor handle for a semaphore. C SpecificationTo export a POSIX file descriptor representing the payload of a semaphore, call:
DescriptionEach call to NoteOwnership can be released in many ways. For example, the application can call Where supported by the operating system, the implementation must set the file descriptor to be closed automatically when an Exporting a file descriptor from a semaphore may have side effects depending on the transference of the specified handle type, as described in Importing Semaphore State. Valid Usage (Implicit)
Return Codes
See Also
| |
| vkGetSemaphoreFdKHR | back to summary |
|---|---|
| public static int vkGetSemaphoreFdKHR(VkDevice device, VkSemaphoreGetFdInfoKHR pGetFdInfo, int[] pFd) Array version of:
| |
| vkImportSemaphoreFdKHR | back to summary |
|---|---|
| public static int vkImportSemaphoreFdKHR(VkDevice device, VkImportSemaphoreFdInfoKHR pImportSemaphoreFdInfo) Import a semaphore from a POSIX file descriptor. C SpecificationTo import a semaphore payload from a POSIX file descriptor, call:
DescriptionImporting a semaphore payload from a file descriptor transfers ownership of the file descriptor from the application to the Vulkan implementation. The application must not perform any operations on the file descriptor after a successful import. 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
Valid Usage (Implicit)
Return Codes
See Also
| |