Package org.lwjgl.glfw
Class GLFWNativeEGL
- java.lang.Object
-
- org.lwjgl.glfw.GLFWNativeEGL
-
public class GLFWNativeEGL extends java.lang.ObjectNative bindings to the GLFW library's EGL native access functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class and Description static classGLFWNativeEGL.FunctionsContains the function pointers loaded fromGLFW.getLibrary().
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static longglfwGetEGLContext(long window)Returns theEGLContextof the specified window.static longglfwGetEGLDisplay()Returns theEGLDisplayused by GLFW.static longglfwGetEGLSurface(long window)Returns theEGLSurfaceof the specified window.
-
-
-
Method Detail
-
glfwGetEGLDisplay
public static long glfwGetEGLDisplay()
Returns theEGLDisplayused by GLFW.This function may be called from any thread. Access is not synchronized.
- Returns:
- the
EGLDisplayused by GLFW, orEGL10.EGL_NO_DISPLAYif an error occured - Since:
- version 3.0
-
glfwGetEGLContext
public static long glfwGetEGLContext(long window)
Returns theEGLContextof the specified window.This function may be called from any thread. Access is not synchronized.
- Parameters:
window- a GLFW window- Returns:
- the
EGLContextof the specified window, orEGL10.EGL_NO_CONTEXTif an error occurred - Since:
- version 3.0
-
glfwGetEGLSurface
public static long glfwGetEGLSurface(long window)
Returns theEGLSurfaceof the specified window.This function may be called from any thread. Access is not synchronized.
- Parameters:
window-- Returns:
- the
EGLSurfaceof the specified window, orEGL10.EGL_NO_SURFACEif an error occurred - Since:
- version 3.0
-
-