Class VkExportMetalSharedEventInfoEXT

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

public class VkExportMetalSharedEventInfoEXT extends org.lwjgl.system.Struct<VkExportMetalSharedEventInfoEXT> implements org.lwjgl.system.NativeResource
Structure that identifies a VkSemaphore or VkEvent object and corresponding Metal MTLSharedEvent object.
Valid Usage (Implicit)
  • sType must be STRUCTURE_TYPE_EXPORT_METAL_SHARED_EVENT_INFO_EXT
  • If semaphore is not NULL_HANDLE, semaphore must be a valid VkSemaphore handle
  • If event is not NULL_HANDLE, event must be a valid VkEvent handle
  • Both of event, and semaphore that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the same VkDevice

Layout


 struct VkExportMetalSharedEventInfoEXT {
     VkStructureType sType();
     void const * pNext();
     VkSemaphore semaphore();
     VkEvent event();
     MTLSharedEvent_id mtlSharedEvent();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • SEMAPHORE

      public static final int SEMAPHORE
      The struct member offsets.
    • EVENT

      public static final int EVENT
      The struct member offsets.
    • MTLSHAREDEVENT

      public static final int MTLSHAREDEVENT
      The struct member offsets.
  • Constructor Details

    • VkExportMetalSharedEventInfoEXT

      public VkExportMetalSharedEventInfoEXT(ByteBuffer container)
      Creates a VkExportMetalSharedEventInfoEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details