Class WindowProc

java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.system.windows.WindowProc
All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, WindowProcI

public abstract class WindowProc extends Callback implements WindowProcI
Callback function: WNDPROC
  • Method Details

    • create

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

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

      public static WindowProc create(WindowProcI instance)
      Creates a WindowProc instance that delegates to the specified WindowProcI instance.