Package com.jme3.opencl.lwjgl
Class LwjglEvent
java.lang.Object
com.jme3.opencl.AbstractOpenCLObject
com.jme3.opencl.Event
com.jme3.opencl.lwjgl.LwjglEvent
- All Implemented Interfaces:
OpenCLObject
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.jme3.opencl.OpenCLObject
OpenCLObject.ObjectReleaser
-
Field Summary
Fields inherited from class com.jme3.opencl.AbstractOpenCLObject
releaser
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.lwjgl.opencl.CLEvent
getEvent()
boolean
Tests if the action is completed.void
Waits until the action has finished (blocking).Methods inherited from class com.jme3.opencl.AbstractOpenCLObject
finalize, getReleaser, release
-
Constructor Details
-
LwjglEvent
public LwjglEvent(org.lwjgl.opencl.CLEvent event)
-
-
Method Details
-
getEvent
public org.lwjgl.opencl.CLEvent getEvent() -
waitForFinished
public void waitForFinished()Description copied from class:Event
Waits until the action has finished (blocking). This automatically releases the event.- Specified by:
waitForFinished
in classEvent
-
isCompleted
public boolean isCompleted()Description copied from class:Event
Tests if the action is completed. If the action is completed, the event is released.- Specified by:
isCompleted
in classEvent
- Returns:
true
if the action is completed
-