Class VkImportMetalSharedEventInfoEXT

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

public class VkImportMetalSharedEventInfoEXT extends org.lwjgl.system.Struct<VkImportMetalSharedEventInfoEXT> implements org.lwjgl.system.NativeResource
Structure that identifies a VkSemaphore or VkEvent object and corresponding Metal Shared Event object to use.
Description

If the pNext chain of the VkSemaphoreCreateInfo structure includes both VkImportMetalSharedEventInfoEXT and VkSemaphoreTypeCreateInfo, the signaledValue property of the imported id&lt;MTLSharedEvent&gt; object will be set to VkSemaphoreTypeCreateInfo::initialValue.

Valid Usage (Implicit)

Layout


 struct VkImportMetalSharedEventInfoEXT {
     VkStructureType sType();
     void const * pNext();
     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.
    • MTLSHAREDEVENT

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

    • VkImportMetalSharedEventInfoEXT

      public VkImportMetalSharedEventInfoEXT(ByteBuffer container)
      Creates a VkImportMetalSharedEventInfoEXT 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