namespace Brutal.VulkanApi { /// /// VkImportSemaphoreFdInfoKHR - Structure specifying POSIX file descriptor to import to a semaphore /// /// /// /// The VkImportSemaphoreFdInfoKHR structure is defined as: /// /// /// // Provided by VK_KHR_external_semaphore_fd /// typedef struct VkImportSemaphoreFdInfoKHR { /// VkStructureType sType; /// const void* pNext; /// VkSemaphore semaphore; /// VkSemaphoreImportFlags flags; /// VkExternalSemaphoreHandleTypeFlagBits handleType; /// int fd; /// } VkImportSemaphoreFdInfoKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkImportSemaphoreFdInfoKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ImportSemaphoreFdInfoKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Semaphore is the semaphore into which the payload will be imported. /// [FieldOffset(16)] public VkSemaphore Semaphore; /// /// Flags is a bitmask of VkSemaphoreImportFlags specifying additional parameters for the semaphore payload import operation. /// [FieldOffset(24)] public VkSemaphoreImportFlags Flags; /// /// HandleType is a VkExternalSemaphoreHandleTypeFlags value specifying the type of fd. /// [FieldOffset(28)] public VkExternalSemaphoreHandleTypeFlags HandleType; /// /// Fd is the external handle to import. /// [FieldOffset(32)] public int Fd; } }