Top Description Fields Constructors Methods
org.lwjgl.opengles

public final Class EGLConfig

extends PointerWrapperAbstract
Class Inheritance
Imports
org.lwjgl.LWJGLException, .PointerWrapperAbstract

EGLConfig wrapper class.

Field Summary

Modifier and TypeField and Description
private final int
private final EGLDisplay
Inherited from org.lwjgl.PointerWrapperAbstract:
pointer

Constructor Summary

AccessConstructor and Description
pack-priv
EGLConfig(final EGLDisplay display, final long pointer)

Method Summary

Modifier and TypeMethod and Description
public boolean
equals(final Object
the reference object with which to compare.
obj
)

Overrides org.lwjgl.PointerWrapperAbstract.equals.

Indicates whether some other object is "equal to" this one.
public int

Returns:

the attribute value
getAttribute
(final int
the attribute
attribute
)

Returns the value of the specified EGL config attribute.

public int

Returns:

the EGL_CONFIG_ID
getConfigID
()

Returns the EGL_CONFIG_ID attribute of this EGLConfig.

public EGLDisplay

Returns:

the EGL display
getDisplay
()

Returns the EGL display from which this EGL config was retrieved.

public String
toString()

Overrides org.lwjgl.PointerWrapperAbstract.toString.

Returns a string representation of the object.
Inherited from org.lwjgl.PointerWrapperAbstract:
checkValidgetPointerhashCodeisValid

Field Detail

configIDback to summary
private final int configID
displayback to summary
private final EGLDisplay display

Constructor Detail

EGLConfigback to summary
pack-priv EGLConfig(final EGLDisplay display, final long pointer) throws LWJGLException

Method Detail

equalsback to summary
public boolean equals(final Object obj)

Overrides org.lwjgl.PointerWrapperAbstract.equals.

Doc from java.lang.Object.equals.

Indicates whether some other object is "equal to" this one.

The equals method implements an equivalence relation on non-null object references:

  • It is reflexive: for any non-null reference value x, x.equals(x) should return true.
  • It is symmetric: for any non-null reference values x and y, x.equals(y) should return true if and only if y.equals(x) returns true.
  • It is transitive: for any non-null reference values x, y, and z, if x.equals(y) returns true and y.equals(z) returns true, then x.equals(z) should return true.
  • It is consistent: for any non-null reference values x and y, multiple invocations of x.equals(y) consistently return true or consistently return false, provided no information used in equals comparisons on the objects is modified.
  • For any non-null reference value x, x.equals(null) should return false.

An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.

Parameters
obj:Object

the reference object with which to compare.

Returns:boolean

true if this object is the same as the obj argument; false otherwise.

getAttributeback to summary
public int getAttribute(final int attribute) throws LWJGLException

Returns the value of the specified EGL config attribute.

Parameters
attribute:int

the attribute

Returns:int

the attribute value

getConfigIDback to summary
public int getConfigID()

Returns the EGL_CONFIG_ID attribute of this EGLConfig.

Returns:int

the EGL_CONFIG_ID

getDisplayback to summary
public EGLDisplay getDisplay()

Returns the EGL display from which this EGL config was retrieved.

Returns:EGLDisplay

the EGL display

toStringback to summary
public String toString()

Overrides org.lwjgl.PointerWrapperAbstract.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object