Class NativeImage.WriteCallback

  • All Implemented Interfaces:
    java.lang.AutoCloseable, org.lwjgl.stb.STBIWriteCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.CallbackI.V, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer
    Enclosing class:
    NativeImage

    static class NativeImage.WriteCallback
    extends org.lwjgl.stb.STBIWriteCallback
    • Nested Class Summary

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

        org.lwjgl.system.CallbackI.B, org.lwjgl.system.CallbackI.D, org.lwjgl.system.CallbackI.F, org.lwjgl.system.CallbackI.I, org.lwjgl.system.CallbackI.J, org.lwjgl.system.CallbackI.P, org.lwjgl.system.CallbackI.S, org.lwjgl.system.CallbackI.V, org.lwjgl.system.CallbackI.Z
      • Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer

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

      Fields 
      Modifier and Type Field Description
      private java.io.IOException exception  
      private java.nio.channels.WritableByteChannel output  
      • Fields inherited from interface org.lwjgl.system.Pointer

        BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE
      • Fields inherited from interface org.lwjgl.stb.STBIWriteCallbackI

        SIGNATURE
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private WriteCallback​(java.nio.channels.WritableByteChannel p_i49388_1_)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void invoke​(long p_invoke_1_, long p_invoke_3_, int p_invoke_5_)  
      void throwIfException()  
      • Methods inherited from class org.lwjgl.stb.STBIWriteCallback

        create, create, createSafe, getData
      • Methods inherited from class org.lwjgl.system.Callback

        __stdcall, address, equals, free, free, get, getSafe, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface org.lwjgl.system.CallbackI

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

        close
      • Methods inherited from interface org.lwjgl.stb.STBIWriteCallbackI

        callback, getSignature
    • Field Detail

      • output

        private final java.nio.channels.WritableByteChannel output
      • exception

        @Nullable
        private java.io.IOException exception
    • Constructor Detail

      • WriteCallback

        private WriteCallback​(java.nio.channels.WritableByteChannel p_i49388_1_)
    • Method Detail

      • invoke

        public void invoke​(long p_invoke_1_,
                           long p_invoke_3_,
                           int p_invoke_5_)
      • throwIfException

        public void throwIfException()
                              throws java.io.IOException
        Throws:
        java.io.IOException