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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.lwjgl.opencl.CLEventgetEvent()booleanTests if the action is completed.voidWaits 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:EventWaits until the action has finished (blocking). This automatically releases the event.- Specified by:
waitForFinishedin classEvent
-
isCompleted
public boolean isCompleted()Description copied from class:EventTests if the action is completed. If the action is completed, the event is released.- Specified by:
isCompletedin classEvent- Returns:
trueif the action is completed
-