ImageMagick.OpenCL.NativeOpenCL.SetEnabled C# (CSharp) Method

SetEnabled() public static method

public static SetEnabled ( bool value ) : bool
value bool
return bool
      public static bool SetEnabled(bool value)
      {
        #if ANYCPU
        if (NativeLibrary.Is64Bit)
        #endif
        #if WIN64 || ANYCPU
        return NativeMethods.X64.OpenCL_SetEnabled(value);
        #endif
        #if ANYCPU
        else
        #endif
        #if !WIN64 || ANYCPU
        return NativeMethods.X86.OpenCL_SetEnabled(value);
        #endif
      }
    }