Class VkExportFenceWin32HandleInfoKHR

  • All Implemented Interfaces:
    java.lang.AutoCloseable, NativeResource, Pointer

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

    If this structure is not present, or if pAttributes is set to 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 Rights"1. 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://msdn.microsoft.com/en-us/library/windows/desktop/ms686670.aspx
    Valid Usage
    Valid Usage (Implicit)

    Member documentation

    • sType – the type of this structure.
    • pNextNULL or a pointer to an extension-specific structure.
    • pAttributes – a pointer to a Windows SECURITY_ATTRIBUTES structure specifying security attributes of the handle.
    • dwAccess – a DWORD specifying access rights of the handle.
    • name – a NULL-terminated UTF-16 string to associate with the underlying synchronization primitive referenced by NT handles exported from the created fence.

    Layout

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