library / com.otaliastudios.opengl.surface / EglNativeWindowSurface

EglNativeWindowSurface

abstract class EglNativeWindowSurface : EglSurface

Functions

swapBuffers

Calls eglSwapBuffers. Use this to "publish" the current frame. Returns false on failure.

fun swapBuffers(): Boolean

Inheritors

EglWindowSurface

Recordable EGL window surface. It's good practice to explicitly release() the surface, preferably from a finally block.

open class EglWindowSurface : EglNativeWindowSurface