Class ContextAttribs

java.lang.Object
org.lwjgl.opengles.ContextAttribs

public final class ContextAttribs extends 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 Details

    • ContextAttribs

      public ContextAttribs()
    • ContextAttribs

      public ContextAttribs(int version)
  • Method Details

    • getVersion

      public int getVersion()
    • getAttribList

      public IntBuffer getAttribList()
    • toString

      public String toString()
      Overrides:
      toString in class Object