Package org.lwjgl.glfw
Class GLFWNativeEGL
- java.lang.Object
-
- org.lwjgl.glfw.GLFWNativeEGL
-
public class GLFWNativeEGL extends java.lang.Object
Native bindings to the GLFW library's EGL native access functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GLFWNativeEGL.Functions
Contains the function pointers loaded fromGLFW.getLibrary()
.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static long
glfwGetEGLContext(long window)
Returns theEGLContext
of the specified window.static long
glfwGetEGLDisplay()
Returns theEGLDisplay
used by GLFW.static long
glfwGetEGLSurface(long window)
Returns theEGLSurface
of the specified window.
-
-
-
Method Detail
-
glfwGetEGLDisplay
public static long glfwGetEGLDisplay()
Returns theEGLDisplay
used by GLFW.This function may be called from any thread. Access is not synchronized.
- Returns:
- the
EGLDisplay
used by GLFW, orEGL10.EGL_NO_DISPLAY
if an error occured - Since:
- version 3.0
-
glfwGetEGLContext
public static long glfwGetEGLContext(long window)
Returns theEGLContext
of the specified window.This function may be called from any thread. Access is not synchronized.
- Parameters:
window
- a GLFW window- Returns:
- the
EGLContext
of the specified window, orEGL10.EGL_NO_CONTEXT
if an error occurred - Since:
- version 3.0
-
glfwGetEGLSurface
public static long glfwGetEGLSurface(long window)
Returns theEGLSurface
of the specified window.This function may be called from any thread. Access is not synchronized.
- Returns:
- the
EGLSurface
of the specified window, orEGL10.EGL_NO_SURFACE
if an error occurred - Since:
- version 3.0
-
-