Class CLContextCallback

  • All Implemented Interfaces:
    PointerWrapper

    public abstract class CLContextCallback
    extends PointerWrapperAbstract
    Instances of this class can be used to receive OpenCL context error notifications.
    Author:
    Spasi
    • Constructor Detail

      • CLContextCallback

        protected CLContextCallback()
      • CLContextCallback

        protected CLContextCallback​(long pointer)
        This constructor allows non-LWJGL implementations.
        Parameters:
        pointer -
    • Method Detail

      • handleMessage

        protected abstract void handleMessage​(java.lang.String errinfo,
                                              java.nio.ByteBuffer private_info)
        The callback method.
        Parameters:
        errinfo - the error description
        private_info - optional error data (may be null)