Top Description Inners Constructors Methods
org.lwjgl.glfw

public abstract Class GLFWWindowRefreshCallback

extends Callback
implements GLFWWindowRefreshCallbackI
Class Inheritance
All Implemented Interfaces
org.lwjgl.glfw.GLFWWindowRefreshCallbackI, org.lwjgl.system.CallbackI, org.lwjgl.system.Pointer
Known Direct Subclasses
org.lwjgl.glfw.GLFWWindowRefreshCallback.Container
Imports
javax.annotation.*, org.lwjgl.system.*

Instances of this class may be passed to the SetWindowRefreshCallback method.

Type


void (*invoke) (
    GLFWwindow *window
)
Since
version 2.5

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

AccessConstructor and Description
protected
pack-priv
GLFWWindowRefreshCallback(long functionPointer)

Method Summary

Modifier and TypeMethod and Description
public static GLFWWindowRefreshCallback

Returns:

the new GLFWWindowRefreshCallback
create
(long functionPointer)

Creates a GLFWWindowRefreshCallback instance from the specified function pointer.

public static GLFWWindowRefreshCallback
create(GLFWWindowRefreshCallbackI instance)

Creates a GLFWWindowRefreshCallback instance that delegates to the specified GLFWWindowRefreshCallbackI instance.

public static GLFWWindowRefreshCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

public GLFWWindowRefreshCallback
set(long window)

See SetWindowRefreshCallback.

Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

GLFWWindowRefreshCallbackback to summary
protected GLFWWindowRefreshCallback()
GLFWWindowRefreshCallbackback to summary
pack-priv GLFWWindowRefreshCallback(long functionPointer)

Method Detail

createback to summary
public static GLFWWindowRefreshCallback create(long functionPointer)

Creates a GLFWWindowRefreshCallback instance from the specified function pointer.

Returns:GLFWWindowRefreshCallback

the new GLFWWindowRefreshCallback

createback to summary
public static GLFWWindowRefreshCallback create(GLFWWindowRefreshCallbackI instance)

Creates a GLFWWindowRefreshCallback instance that delegates to the specified GLFWWindowRefreshCallbackI instance.

createSafeback to summary
public static GLFWWindowRefreshCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

Annotations
@Nullable
setback to summary
public GLFWWindowRefreshCallback set(long window)

See SetWindowRefreshCallback.

org.lwjgl.glfw back to summary

private final Class GLFWWindowRefreshCallback.Container

extends GLFWWindowRefreshCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final GLFWWindowRefreshCallbackI

Constructor Summary

AccessConstructor and Description
pack-priv
Container(long functionPointer, GLFWWindowRefreshCallbackI delegate)

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the window whose content needs to be refreshed
window
)

Implements org.lwjgl.glfw.GLFWWindowRefreshCallbackI.invoke.

Will be called when the client area of the specified window needs to be redrawn, for example if the window has been exposed after having been covered by another window.
Inherited from org.lwjgl.glfw.GLFWWindowRefreshCallback:
createcreatecreateSafeset

Field Detail

delegateback to summary
private final GLFWWindowRefreshCallbackI delegate

Constructor Detail

Containerback to summary
pack-priv Container(long functionPointer, GLFWWindowRefreshCallbackI delegate)

Method Detail

invokeback to summary
public void invoke(long window)

Implements org.lwjgl.glfw.GLFWWindowRefreshCallbackI.invoke.

Doc from org.lwjgl.glfw.GLFWWindowRefreshCallbackI.invoke.

Will be called when the client area of the specified window needs to be redrawn, for example if the window has been exposed after having been covered by another window.

Parameters
window:long

the window whose content needs to be refreshed

Annotations
@Override