Class VFakeEvent
java.lang.Object
com.io7m.jcoronado.fake.VFakeEvent
- All Implemented Interfaces:
VulkanEventType, VulkanHandleNonDispatchableType, VulkanHandleType, com.io7m.jmulticlose.core.CloseableType, AutoCloseable
A fake event. Events are always created in the unsignalled state.
-
Constructor Details
-
VFakeEvent
A fake event.- Parameters:
inCreateInfo- The creation info
-
-
Method Details
-
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:
trueif the event is signalled
-
close
public void close()Description copied from interface:VulkanHandleTypeDestroy the object.- Specified by:
closein interfaceAutoCloseable- Specified by:
closein interfaceVulkanEventType- Specified by:
closein interfaceVulkanHandleType
-
isClosed
public boolean isClosed()- Specified by:
isClosedin interfacecom.io7m.jmulticlose.core.CloseableType
-