Package org.lwjgl.opengles
Class EGLSurface
- java.lang.Object
-
- org.lwjgl.PointerWrapperAbstract
-
- org.lwjgl.opengles.EGLSurface
-
- All Implemented Interfaces:
PointerWrapper
public final class EGLSurface extends PointerWrapperAbstract
EGLSurface wrapper class.
-
-
Field Summary
-
Fields inherited from class org.lwjgl.PointerWrapperAbstract
pointer
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddestroy()Destroys this EGL surface.booleanequals(Object obj)intgetAttribute(int attribute)Returns the value of the specified EGL surface attribute.EGLConfiggetConfig()Returns the EGL config associated with this EGL surface.EGLDisplaygetDisplay()Returns the EGL display from which this EGL surface was created.voidswapBuffers()-
Methods inherited from class org.lwjgl.PointerWrapperAbstract
checkValid, getPointer, hashCode, isValid, toString
-
-
-
-
Method Detail
-
getDisplay
public EGLDisplay getDisplay()
Returns the EGL display from which this EGL surface was created.- Returns:
- the EGL display
-
getConfig
public EGLConfig getConfig()
Returns the EGL config associated with this EGL surface.- Returns:
- the EGL config
-
destroy
public void destroy() throws LWJGLExceptionDestroys this EGL surface.- Throws:
LWJGLException
-
getAttribute
public int getAttribute(int attribute) throws LWJGLExceptionReturns the value of the specified EGL surface attribute.- Parameters:
attribute- the surface attribute- Returns:
- the attribute value
- Throws:
LWJGLException
-
swapBuffers
public void swapBuffers() throws LWJGLException, PowerManagementEventException
-
equals
public boolean equals(Object obj)
- Overrides:
equalsin classPointerWrapperAbstract
-
-