Class 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 and Description
      static class  GLFWNativeEGL.Functions
      Contains the function pointers loaded from GLFW.getLibrary().
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static long glfwGetEGLContext(long window)
      Returns the EGLContext of the specified window.
      static long glfwGetEGLDisplay()
      Returns the EGLDisplay used by GLFW.
      static long glfwGetEGLSurface(long window)
      Returns the EGLSurface of the specified window.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • glfwGetEGLDisplay

        public static long glfwGetEGLDisplay()
        Returns the EGLDisplay used by GLFW.

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

        Returns:
        the EGLDisplay used by GLFW, or EGL10.EGL_NO_DISPLAY if an error occured
        Since:
        version 3.0
      • glfwGetEGLContext

        public static long glfwGetEGLContext(long window)
        Returns the EGLContext 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, or EGL10.EGL_NO_CONTEXT if an error occurred
        Since:
        version 3.0
      • glfwGetEGLSurface

        public static long glfwGetEGLSurface(long window)
        Returns the EGLSurface of the specified window.

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

        Parameters:
        window -
        Returns:
        the EGLSurface of the specified window, or EGL10.EGL_NO_SURFACE if an error occurred
        Since:
        version 3.0