Class SpvcErrorCallback

    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

        org.lwjgl.system.Pointer.Default
    • Field Summary

      • Fields inherited from interface org.lwjgl.system.Pointer

        BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static SpvcErrorCallback create​(long functionPointer)
      Creates a SpvcErrorCallback instance from the specified function pointer.
      static SpvcErrorCallback create​(SpvcErrorCallbackI instance)
      Creates a SpvcErrorCallback instance that delegates to the specified SpvcErrorCallbackI instance.
      static SpvcErrorCallback createSafe​(long functionPointer)
      Like create, but returns null if functionPointer is NULL.
      static java.lang.String getError​(long error)
      Converts the specified spvc_error_callback argument to a String.
      • Methods inherited from class org.lwjgl.system.Callback

        address, equals, free, free, get, getSafe, hashCode, toString
      • Methods inherited from interface org.lwjgl.system.CallbackI

        address
      • Methods inherited from interface org.lwjgl.system.NativeResource

        close
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • create

        public static SpvcErrorCallback create​(long functionPointer)
        Creates a SpvcErrorCallback instance from the specified function pointer.
        Returns:
        the new SpvcErrorCallback
      • createSafe

        @Nullable
        public static SpvcErrorCallback createSafe​(long functionPointer)
        Like create, but returns null if functionPointer is NULL.
      • create

        public static SpvcErrorCallback create​(SpvcErrorCallbackI instance)
        Creates a SpvcErrorCallback instance that delegates to the specified SpvcErrorCallbackI instance.
      • getError

        public static java.lang.String getError​(long error)
        Converts the specified spvc_error_callback argument to a String.

        This method may only be used inside a SpvcErrorCallback invocation.

        Parameters:
        error - the error argument to decode
        Returns:
        the error message as a String