Top Description Inners Constructors Methods
org.lwjgl.glfw

public abstract Class GLFWFramebufferSizeCallback

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

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

Type


void (*invoke) (
    GLFWwindow *window,
    int width,
    int height
)
Since
version 3.0

Nested and Inner Type Summary

Modifier and TypeClass and Description
private static class

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public static GLFWFramebufferSizeCallback

Returns:

the new GLFWFramebufferSizeCallback
create
(long functionPointer)

Creates a GLFWFramebufferSizeCallback instance from the specified function pointer.

public static GLFWFramebufferSizeCallback
create(GLFWFramebufferSizeCallbackI instance)

Creates a GLFWFramebufferSizeCallback instance that delegates to the specified GLFWFramebufferSizeCallbackI instance.

public static GLFWFramebufferSizeCallback
createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

public GLFWFramebufferSizeCallback
Inherited from org.lwjgl.system.Callback:
addressequalsfreefreegetgetSafehashCodetoString

Constructor Detail

GLFWFramebufferSizeCallbackback to summary
protected GLFWFramebufferSizeCallback()
GLFWFramebufferSizeCallbackback to summary
pack-priv GLFWFramebufferSizeCallback(long functionPointer)

Method Detail

createback to summary
public static GLFWFramebufferSizeCallback create(long functionPointer)

Creates a GLFWFramebufferSizeCallback instance from the specified function pointer.

Returns:GLFWFramebufferSizeCallback

the new GLFWFramebufferSizeCallback

createback to summary
public static GLFWFramebufferSizeCallback create(GLFWFramebufferSizeCallbackI instance)

Creates a GLFWFramebufferSizeCallback instance that delegates to the specified GLFWFramebufferSizeCallbackI instance.

createSafeback to summary
public static GLFWFramebufferSizeCallback createSafe(long functionPointer)

Like create, but returns null if functionPointer is NULL.

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

See SetFramebufferSizeCallback.

org.lwjgl.glfw back to summary

private final Class GLFWFramebufferSizeCallback.Container

extends GLFWFramebufferSizeCallback
Class Inheritance

Field Summary

Modifier and TypeField and Description
private final GLFWFramebufferSizeCallbackI

Constructor Summary

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

Method Summary

Modifier and TypeMethod and Description
public void
invoke(long
the window whose framebuffer was resized
window
,
int
the new width, in pixels, of the framebuffer
width
,
int
the new height, in pixels, of the framebuffer
height
)

Implements org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.invoke.

Will be called when the framebuffer of the specified window is resized.
Inherited from org.lwjgl.glfw.GLFWFramebufferSizeCallback:
createcreatecreateSafeset

Field Detail

delegateback to summary
private final GLFWFramebufferSizeCallbackI delegate

Constructor Detail

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

Method Detail

invokeback to summary
public void invoke(long window, int width, int height)

Implements org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.invoke.

Doc from org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.invoke.

Will be called when the framebuffer of the specified window is resized.

Parameters
window:long

the window whose framebuffer was resized

width:int

the new width, in pixels, of the framebuffer

height:int

the new height, in pixels, of the framebuffer

Annotations
@Override