Class VkExportFenceWin32HandleInfoKHR

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

public class VkExportFenceWin32HandleInfoKHR extends org.lwjgl.system.Struct<VkExportFenceWin32HandleInfoKHR> implements org.lwjgl.system.NativeResource
Structure specifying additional attributes of Windows handles exported from a fence.
Description

If VkExportFenceCreateInfo is not included in the same pNext chain, this structure is ignored.

If VkExportFenceCreateInfo is included in the pNext chain of VkFenceCreateInfo with a Windows handleType, but either VkExportFenceWin32HandleInfoKHR is not included in the pNext chain, or it is included but pAttributes is NULL, default security descriptor values will be used, and child processes created by the application will not inherit the handle, as described in the MSDN documentation for “Synchronization Object Security and Access Rights1. Further, if the structure is not present, the access rights will be

DXGI_SHARED_RESOURCE_READ | DXGI_SHARED_RESOURCE_WRITE

for handles of the following types:

EXTERNAL_FENCE_HANDLE_TYPE_OPAQUE_WIN32_BIT

1
https://docs.microsoft.com/en-us/windows/win32/sync/synchronization-object-security-and-access-rights
Valid Usage
Valid Usage (Implicit)

Layout


 struct VkExportFenceWin32HandleInfoKHR {
     VkStructureType sType();
     void const * pNext();
     SECURITY_ATTRIBUTES const * pAttributes();
     DWORD dwAccess();
     LPCWSTR name();
 }