Class OpenCL
- Namespace
- ImageMagick
- Assembly
- Magick.NET-Q16-AnyCPU.dll
Class that can be used to initialize OpenCL.
public class OpenCL : IOpenCL
- Inheritance
-
OpenCL
- Implements
-
IOpenCL
- Inherited Members
Constructors
OpenCL()
public OpenCL()
Properties
Devices
Gets all the OpenCL devices.
public static IReadOnlyCollection<IOpenCLDevice> Devices { get; }
Property Value
- IReadOnlyCollection<IOpenCLDevice>
A ImageMagick.IOpenCLDevice iteration.
IsEnabled
Gets or sets a value indicating whether OpenCL is enabled.
public static bool IsEnabled { get; set; }
Property Value
Methods
SetCacheDirectory(string)
Sets the directory that will be used by ImageMagick to store OpenCL cache files.
public static void SetCacheDirectory(string path)
Parameters
path
stringThe path of the OpenCL cache directory.