Class ContextAttribs


  • public final class ContextAttribs
    extends java.lang.Object
    This class represents the context attributes passed to EGL's eglCreateContext. The only attribute allowed is EGL_CONTEXT_CLIENT_VERSION and it must be 2 or 3 (LWJGL does not support GLES 1.x).
    • Constructor Detail

      • ContextAttribs

        public ContextAttribs()
      • ContextAttribs

        public ContextAttribs​(int version)
    • Method Detail

      • getVersion

        public int getVersion()
      • getAttribList

        public java.nio.IntBuffer getAttribList()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object