Package org.lwjgl.glfw
Class GLFWNativeWin32
- java.lang.Object
-
- org.lwjgl.glfw.GLFWNativeWin32
-
public class GLFWNativeWin32 extends java.lang.ObjectNative bindings to the GLFW library's Win32 native access functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classGLFWNativeWin32.FunctionsContains the function pointers loaded fromGLFW.getLibrary().
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static java.lang.StringglfwGetWin32Adapter(long monitor)Returns the adapter device name of the specified monitor.static java.lang.StringglfwGetWin32Monitor(long monitor)Returns the display device name of the specified monitor.static longglfwGetWin32Window(long window)Returns theHWNDof the specified window.
-
-
-
Method Detail
-
glfwGetWin32Adapter
public static java.lang.String glfwGetWin32Adapter(long monitor)
Returns the adapter device name of the specified monitor.Note: This function may be called from any thread. Access is not synchronized.
- Parameters:
monitor- the GLFW monitor- Returns:
- The UTF-8 encoded adapter device name (for example `\\.\DISPLAY1`) of the specified monitor, or
NULLif an error occurred. - Since:
- version 3.1
-
glfwGetWin32Monitor
public static java.lang.String glfwGetWin32Monitor(long monitor)
Returns the display device name of the specified monitor.Note: This function may be called from any thread. Access is not synchronized.
- Parameters:
monitor- the GLFW monitor- Returns:
- The UTF-8 encoded display device name (for example `\\.\DISPLAY1\Monitor0`) of the specified monitor, or
NULLif an error occurred. - Since:
- version 3.1
-
glfwGetWin32Window
public static long glfwGetWin32Window(long window)
Returns theHWNDof the specified window.Note: This function may be called from any thread. Access is not synchronized.
- Parameters:
window- the GLFW window- Returns:
- The
HWNDof the specified window, orNULLif an error occurred. - Since:
- version 3.0
-
-