public abstract class CommandQueue extends AbstractOpenCLObject
Context.createQueue(com.jme3.opencl.Device))
 and all commands are sent to this device.OpenCLObject.ObjectReleaser| Modifier and Type | Field and Description | 
|---|---|
| protected Device | device | 
releaser| Modifier | Constructor and Description | 
|---|---|
| protected  | CommandQueue(OpenCLObject.ObjectReleaser releaser,
            Device device) | 
| Modifier and Type | Method and Description | 
|---|---|
| abstract void | finish()Blocks until all previously queued OpenCL commands in command queue are
 issued to the associated device and have completed. | 
| abstract void | flush()Issues all previously queued OpenCL commands in command_queue to the
 device associated with command queue. | 
| Device | getDevice()Returns the device associated with this command queue. | 
| CommandQueue | register()Registers this object for automatic releasing on garbage collection. | 
finalize, getReleaser, releaseprotected Device device
protected CommandQueue(OpenCLObject.ObjectReleaser releaser, Device device)
public CommandQueue register()
OpenCLObjectOpenCLObjectManager, you have to release it manually 
 by calling OpenCLObject.release().
 Without registering or releasing, a memory leak might occur.
 this to allow calls like
 Buffer buffer = clContext.createBuffer(1024).register();.register in interface OpenCLObjectregister in class AbstractOpenCLObjectthispublic Device getDevice()
public abstract void flush()
public abstract void finish()