Top Description Fields Constructors Methods
org.lwjgl.opengles

public final Class ContextAttribs

extends Object
Class Inheritance
Imports
org.lwjgl.BufferUtils, java.nio.IntBuffer

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).

Field Summary

Modifier and TypeField and Description
private int

Constructor Summary

AccessConstructor and Description
public
public
ContextAttribs(final int version)

private

Method Summary

Modifier and TypeMethod and Description
public IntBuffer
public int
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

versionback to summary
private int version

Constructor Detail

ContextAttribsback to summary
public ContextAttribs()
ContextAttribsback to summary
public ContextAttribs(final int version)
ContextAttribsback to summary
private ContextAttribs(final ContextAttribs attribs)

Method Detail

getAttribListback to summary
public IntBuffer getAttribList()
getVersionback to summary
public int getVersion()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object