Platforms to show: All Mac Windows Linux Cross-Platform

CLEventMBS class   Deprecated

Type Topic Plugin Version macOS Windows Linux iOS Targets
class OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
This item is deprecated and should no longer be used.
The class for an OpenCL event.

You can chain several operations together inside a command queue. With events you can have an item execute after another item.

Command Type Constants

Constant Value Description
kCommandAcquireGLObjects &h11FF Acquire GL objects
kCommandCopyBuffer &h11F5 Copy Buffer
kCommandCopyBufferToImage &h11FA Copy Buffer to Image
kCommandCopyImage &h11F8 Copy Image
kCommandCopyImageToBuffer &h11F9 Copy Image to Buffer
kCommandMapBuffer &h11FB Map Buffer
kCommandMapImage &h11FC Map Image
kCommandMarker &h11FE Marker
kCommandNativeKernel &h11F2 Execute Native Kernel
kCommandNDRangeKernel &h11F0 Execute a ND Range Kernel
kCommandReadBuffer &h11F3 Read Buffer
kCommandReadImage &h11F6 Read Image
kCommandReleaseGLObjects &h1200 Release GL objects
kCommandTask &h11F1 Execute task
kCommandUnmapMemObject &h11FD Unmap memory object
kCommandWriteBuffer &h11F4 Write Buffer
kCommandWriteImage &h11F7 Write Image

Command excecution status constants.

Constant Value Description
kCommandExecutionStatusComplete 0 The command has completed.
kCommandExecutionStatusQueued 3 command has been enqueued in the command-queue.
kCommandExecutionStatusRunning 1 Device is currently executing this command.
kCommandExecutionStatusSubmitted 2 enqueued command has been submitted by the host to the device associated with the command-queue.

This class has no sub classes.

Some methods using this class:

  • CLCommandQueueMBS.EnqueueCopyBufferToImage(SourceBuffer as CLMemMBS, destImage as CLMemMBS, sourceOffset as Integer, destOriginX as Integer, destOriginY as Integer, destOriginZ as Integer, RegionWidth as Integer, RegionHeight as Integer, RegionDepth as Integer, EventWaitList() as CLEventMBS, byref outEvent as CLEventMBS)
  • CLCommandQueueMBS.EnqueueCopyImage(sourceImage as CLMemMBS, destImage as CLMemMBS, sourceOriginX as Integer, sourceOriginY as Integer, sourceOriginZ as Integer, destOriginX as Integer, destOriginY as Integer, destOriginZ as Integer, RegionWidth as Integer, RegionHeight as Integer, RegionDepth as Integer, EventWaitList() as CLEventMBS, byref outEvent as CLEventMBS)
  • CLCommandQueueMBS.EnqueueCopyImageToBuffer(sourceImage as CLMemMBS, destBuffer as CLMemMBS, sourceOriginX as Integer, sourceOriginY as Integer, sourceOriginZ as Integer, RegionWidth as Integer, RegionHeight as Integer, RegionDepth as Integer, destOffset as Integer, EventWaitList() as CLEventMBS, byref outEvent as CLEventMBS)
  • CLCommandQueueMBS.EnqueueMapBuffer(buffer as CLMemMBS, BlockingMap as boolean, MapFlags as Integer, offset as Integer, size as Integer, EventWaitList() as CLEventMBS, byref outEvent as CLEventMBS) as memoryblock
  • CLCommandQueueMBS.EnqueueMapImage(image as CLMemMBS, BlockingMap as boolean, MapFlags as Integer, sourceOriginX as Integer, sourceOriginY as Integer, sourceOriginZ as Integer, RegionWidth as Integer, RegionHeight as Integer, RegionDepth as Integer, byref RowPitch as Integer, byref SlicePitch as Integer, EventWaitList() as CLEventMBS, byref outEvent as CLEventMBS) as memoryblock
  • CLCommandQueueMBS.EnqueueMarker(byref outEvent as CLEventMBS)
  • CLCommandQueueMBS.EnqueueReadImage(image as CLMemMBS, BlockingRead as boolean, sourceOriginX as Integer, sourceOriginY as Integer, sourceOriginZ as Integer, RegionWidth as Integer, RegionHeight as Integer, RegionDepth as Integer, RowPitch as Integer, SlicePitch as Integer, mem as Memoryblock, EventWaitList() as CLEventMBS, byref outEvent as CLEventMBS)
  • CLCommandQueueMBS.EnqueueUnmapMemObject(buffer as CLMemMBS, mem as Memoryblock, EventWaitList() as CLEventMBS, byref outEvent as CLEventMBS)
  • CLCommandQueueMBS.EnqueueWaitForEvents(EventWaitList() as CLEventMBS)
  • CLCommandQueueMBS.EnqueueWriteImage(image as CLMemMBS, BlockingWrite as boolean, sourceOriginX as Integer, sourceOriginY as Integer, sourceOriginZ as Integer, RegionWidth as Integer, RegionHeight as Integer, RegionDepth as Integer, RowPitch as Integer, SlicePitch as Integer, mem as Memoryblock, EventWaitList() as CLEventMBS, byref outEvent as CLEventMBS)

Blog Entries


The items on this page are in the following plugins: MBS MacFrameworks Plugin.


CLDeviceMBS   -   CLGeocodeCompletionHandlerMBS


The biggest plugin in space...