Class WindowProc
java.lang.Object
org.lwjgl.system.Callback
org.lwjgl.system.windows.WindowProc
- All Implemented Interfaces:
AutoCloseable, CallbackI, NativeResource, Pointer, WindowProcI
Callback function:
WNDPROC-
Nested Class Summary
Nested classes/interfaces inherited from class Callback
Callback.DescriptorNested classes/interfaces inherited from interface Pointer
Pointer.Default -
Field Summary
Fields inherited from interface Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZEFields inherited from interface WindowProcI
DESCRIPTOR -
Method Summary
Modifier and TypeMethodDescriptionstatic WindowProccreate(long functionPointer) Creates aWindowProcinstance from the specified function pointer.static WindowProccreate(WindowProcI instance) Creates aWindowProcinstance that delegates to the specifiedWindowProcIinstance.static @Nullable WindowProccreateSafe(long functionPointer) Methods inherited from interface NativeResource
closeMethods inherited from interface WindowProcI
callback, getDescriptor, invoke
-
Method Details
-
create
Creates aWindowProcinstance from the specified function pointer.- Returns:
- the new
WindowProc
-
createSafe
-
create
Creates aWindowProcinstance that delegates to the specifiedWindowProcIinstance.
-