Package org.lwjgl.opengles
Class EGLSurface
java.lang.Object
org.lwjgl.PointerWrapperAbstract
org.lwjgl.opengles.EGLSurface
- All Implemented Interfaces:
PointerWrapper
EGLSurface wrapper class.
-
Field Summary
Fields inherited from class org.lwjgl.PointerWrapperAbstract
pointer
-
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
Destroys this EGL surface.boolean
int
getAttribute
(int attribute) Returns the value of the specified EGL surface attribute.Returns the EGL config associated with this EGL surface.Returns the EGL display from which this EGL surface was created.void
Methods inherited from class org.lwjgl.PointerWrapperAbstract
checkValid, getPointer, hashCode, isValid, toString
-
Method Details
-
getDisplay
Returns the EGL display from which this EGL surface was created.- Returns:
- the EGL display
-
getConfig
Returns the EGL config associated with this EGL surface.- Returns:
- the EGL config
-
destroy
Destroys this EGL surface.- Throws:
LWJGLException
-
getAttribute
Returns the value of the specified EGL surface attribute.- Parameters:
attribute
- the surface attribute- Returns:
- the attribute value
- Throws:
LWJGLException
-
swapBuffers
-
equals
- Overrides:
equals
in classPointerWrapperAbstract
-