Class VFakeEvent

java.lang.Object
com.io7m.jcoronado.fake.VFakeEvent
All Implemented Interfaces:
VulkanEventType, VulkanHandleNonDispatchableType, VulkanHandleType, com.io7m.jmulticlose.core.CloseableType, AutoCloseable

public final class VFakeEvent extends Object implements VulkanEventType
A fake event. Events are always created in the unsignalled state.
  • Constructor Details

    • VFakeEvent

      public VFakeEvent(VulkanEventCreateInfo inCreateInfo)
      A fake event.
      Parameters:
      inCreateInfo - The creation info
  • Method Details

    • createInfo

      public VulkanEventCreateInfo createInfo()
      Returns:
      The creation info
    • signal

      public void signal()
      Signal the event.
    • reset

      public void reset()
      Reset the event to the unsignalled state.
    • isSignalled

      public boolean isSignalled()
      Returns:
      true if the event is signalled
    • close

      public void close()
      Description copied from interface: VulkanHandleType
      Destroy the object.
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in interface VulkanEventType
      Specified by:
      close in interface VulkanHandleType
    • isClosed

      public boolean isClosed()
      Specified by:
      isClosed in interface com.io7m.jmulticlose.core.CloseableType