Top Description Inners Constructors Methods
org.lwjgl.glfw

public Class GLFWNativeWayland

extends Object
Class Inheritance
Imports
org.lwjgl.system.*

Native bindings to the GLFW library's Wayland native access functions.

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
GLFWNativeWayland.Functions

Contains the function pointers loaded from GLFW.getLibrary().

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public static long

Returns:

the struct wl_display* used by GLFW, or NULL if an error occurred.

Possible errors include NOT_INITIALIZED.

glfwGetWaylandDisplay
()

Returns the struct wl_display* used by GLFW.

public static long

Returns:

the struct wl_output* of the specified monitor, or NULL if an error occurred.

Possible errors include NOT_INITIALIZED.

glfwGetWaylandMonitor
(long monitor)

Returns the struct wl_output* of the specified monitor.

public static long

Returns:

the main struct wl_surface* of the specified window, or NULL if an error occurred.

Possible errors include NOT_INITIALIZED.

glfwGetWaylandWindow
(long window)

Returns the main struct wl_surface* of the specified window.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

GLFWNativeWaylandback to summary
protected GLFWNativeWayland()

Method Detail

glfwGetWaylandDisplayback to summary
public static long glfwGetWaylandDisplay()

Returns the struct wl_display* used by GLFW.

This function may be called from any thread. Access is not synchronized.

Returns:long

the struct wl_display* used by GLFW, or NULL if an error occurred.

Possible errors include NOT_INITIALIZED.

Annotations
@NativeType:struct wl_display *
Since
version 3.2
glfwGetWaylandMonitorback to summary
public static long glfwGetWaylandMonitor(long monitor)

Returns the struct wl_output* of the specified monitor.

This function may be called from any thread. Access is not synchronized.

Returns:long

the struct wl_output* of the specified monitor, or NULL if an error occurred.

Possible errors include NOT_INITIALIZED.

Annotations
@NativeType:struct wl_output *
Since
version 3.2
glfwGetWaylandWindowback to summary
public static long glfwGetWaylandWindow(long window)

Returns the main struct wl_surface* of the specified window.

This function may be called from any thread. Access is not synchronized.

Returns:long

the main struct wl_surface* of the specified window, or NULL if an error occurred.

Possible errors include NOT_INITIALIZED.

Annotations
@NativeType:struct wl_surface *
Since
version 3.2
org.lwjgl.glfw back to summary

public final Class GLFWNativeWayland.Functions

extends Object
Class Inheritance

Contains the function pointers loaded from GLFW.getLibrary().

Field Summary

Modifier and TypeField and Description
public static final long
GetWaylandDisplay

Function address.

public static final long
GetWaylandMonitor

Function address.

public static final long
GetWaylandWindow

Function address.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

GetWaylandDisplayback to summary
public static final long GetWaylandDisplay

Function address.

GetWaylandMonitorback to summary
public static final long GetWaylandMonitor

Function address.

GetWaylandWindowback to summary
public static final long GetWaylandWindow

Function address.

Constructor Detail

Functionsback to summary
private Functions()