library / com.otaliastudios.opengl.core / EglCore / <init>

<init>

EglCore(sharedContext: <ERROR CLASS>? = EGL14.EGL_NO_CONTEXT, flags: Int = 0)

Core EGL state (display, context, config). The EGLContext must only be attached to one thread at a time. This class is not thread-safe.

Parameters

sharedContext - The context to share, or null if sharing is not desired.

flags - Configuration bit flags, e.g. FLAG_RECORDABLE.