Class VkFenceGetWin32HandleInfoKHR

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkFenceGetWin32HandleInfoKHR>
org.lwjgl.vulkan.VkFenceGetWin32HandleInfoKHR
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkFenceGetWin32HandleInfoKHR extends org.lwjgl.system.Struct<VkFenceGetWin32HandleInfoKHR> implements org.lwjgl.system.NativeResource
Structure describing a Win32 handle fence export operation.
Description

The properties of the handle returned depend on the value of handleType. See VkExternalFenceHandleTypeFlagBits for a description of the properties of the defined external fence handle types.

Valid Usage
  • handleType must have been included in VkExportFenceCreateInfo::handleTypes when the fence’s current payload was created
  • If handleType is defined as an NT handle, GetFenceWin32HandleKHR must be called no more than once for each valid unique combination of fence and handleType
  • fence must not currently have its payload replaced by an imported payload as described below in Importing Fence Payloads unless that imported payload’s handle type was included in VkExternalFenceProperties::exportFromImportedHandleTypes for handleType
  • If handleType refers to a handle type with copy payload transference semantics, fence must be signaled, or have an associated fence signal operation pending execution
  • handleType must be defined as an NT handle or a global share handle
Valid Usage (Implicit)
See Also

GetFenceWin32HandleKHR

Layout


 struct VkFenceGetWin32HandleInfoKHR {
     VkStructureType sType();
     void const * pNext();
     VkFence fence();
     VkExternalFenceHandleTypeFlagBits handleType();
 }