Class VkExportSemaphoreWin32HandleInfoKHR

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

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

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

If VkExportSemaphoreCreateInfo is included in the pNext chain of VkSemaphoreCreateInfo with a Windows handleType, but either VkExportSemaphoreWin32HandleInfoKHR 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 used depend on the handle type.

For handles of the following types:

EXTERNAL_SEMAPHORE_HANDLE_TYPE_OPAQUE_WIN32_BIT

The implementation must ensure the access rights allow both signal and wait operations on the semaphore.

For handles of the following types:

EXTERNAL_SEMAPHORE_HANDLE_TYPE_D3D12_FENCE_BIT

The access rights must be:

GENERIC_ALL

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

Layout


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