VK_KHR_external_fence_fdVK_KHR_external_fence or Version 1.1VK_KHR_external_semaphore_fd| Modifier and Type | Field and Description |
|---|---|
| public static final String | VK_KHR_EXTERNAL_FENCE_FD_EXTENSION_NAME
The extension name. |
| public static final int | VK_KHR_EXTERNAL_FENCE_FD_SPEC_VERSION
The extension specification version. |
| public static final int | VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR
Extends |
| public static final int | VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR
Extends |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static int | |
| public static int | |
| public static int | vkGetFenceFdKHR(VkDevice
the logical device that created the fence being exported. device, VkFenceGetFdInfoKHR a pointer to a pGetFdInfo, IntBuffer VkFenceGetFdInfoKHR structure containing parameters of the export operation.will return the file descriptor representing the fence payload. pFd)Get a POSIX file descriptor handle for a fence. |
| public static int | vkGetFenceFdKHR(VkDevice device, VkFenceGetFdInfoKHR pGetFdInfo, int[] pFd)
Array version of: |
| public static int | vkImportFenceFdKHR(VkDevice
the logical device that created the fence. device, VkImportFenceFdInfoKHR a pointer to a pImportFenceFdInfo)VkImportFenceFdInfoKHR structure specifying the fence and import parameters.Import a fence from a POSIX file descriptor. |
| VK_KHR_EXTERNAL_FENCE_FD_EXTENSION_NAME | back to summary |
|---|---|
| public static final String VK_KHR_EXTERNAL_FENCE_FD_EXTENSION_NAME The extension name. | |
| VK_KHR_EXTERNAL_FENCE_FD_SPEC_VERSION | back to summary |
|---|---|
| public static final int VK_KHR_EXTERNAL_FENCE_FD_SPEC_VERSION The extension specification version. | |
| VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_FENCE_GET_FD_INFO_KHR Extends Enum values: | |
| VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR | back to summary |
|---|---|
| public static final int VK_STRUCTURE_TYPE_IMPORT_FENCE_FD_INFO_KHR Extends Enum values: | |
| KHRExternalFenceFd | back to summary |
|---|---|
| protected KHRExternalFenceFd() | |
| nvkGetFenceFdKHR | back to summary |
|---|---|
| public static int nvkGetFenceFdKHR(VkDevice device, long pGetFdInfo, long pFd) Unsafe version of: | |
| nvkImportFenceFdKHR | back to summary |
|---|---|
| public static int nvkImportFenceFdKHR(VkDevice device, long pImportFenceFdInfo) Unsafe version of: | |
| vkGetFenceFdKHR | back to summary |
|---|---|
| public static int vkGetFenceFdKHR(VkDevice device, VkFenceGetFdInfoKHR pGetFdInfo, IntBuffer pFd) Get a POSIX file descriptor handle for a fence. C SpecificationTo export a POSIX file descriptor representing the payload of a fence, call:
DescriptionEach call to NoteOwnership can be released in many ways. For example, the application can call If 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 fence may have side effects depending on the transference of the specified handle type, as described in Importing Fence State. Valid Usage (Implicit)
Return Codes
See Also
| |
| vkGetFenceFdKHR | back to summary |
|---|---|
| public static int vkGetFenceFdKHR(VkDevice device, VkFenceGetFdInfoKHR pGetFdInfo, int[] pFd) Array version of:
| |
| vkImportFenceFdKHR | back to summary |
|---|---|
| public static int vkImportFenceFdKHR(VkDevice device, VkImportFenceFdInfoKHR pImportFenceFdInfo) Import a fence from a POSIX file descriptor. C SpecificationTo import a fence payload from a POSIX file descriptor, call:
DescriptionImporting a fence 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 fence 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
| |