Platforms to show: All Mac Windows Linux Cross-Platform

Back to CLKernelMBS class.

CLKernelMBS.Context as CLContextMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Return the context associated with kernel.

Lasterror is set.
(Read and Write property)

CLKernelMBS.Handle as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The internel object reference.

Not zero if this object is valid.
(Read and Write property)

CLKernelMBS.LastError as Integer

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
The last error code.

See error constants in OpenCLMBS module.
The plugin uses lasterror = -1 for the case a function is not available.
(Read and Write property)

CLKernelMBS.Program as CLProgramMBS

Type Topic Plugin Version macOS Windows Linux iOS Targets
property OpenCL MBS MacFrameworks Plugin 11.1 ✅ Yes ❌ No ❌ No ✅ Yes All
Return the program object associated with kernel.

Lasterror is set.
(Read and Write property)

Some examples using this property:

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


The biggest plugin in space...