EglContextDescriptor class final
The EGL objects that a render session makes its OpenGL context from.
See mln_egl_context_descriptor in the
C API reference.
Constructors
- EglContextDescriptor({required NativePointer display, required NativePointer config, OpenGlClientApi clientApi = const OpenGlClientApi.fromRawValue(0), NativePointer getProcAddress = NativePointer.nullPointer})
-
const
Properties
- clientApi → OpenGlClientApi
-
The API of a dedicated context. A shared context uses the API of yours.
final
- config → NativePointer
-
An
EGLConfig.final - display → NativePointer
-
An
EGLDisplay.final - getProcAddress → NativePointer
-
Your
eglGetProcAddress, or null to use the system's.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
Your
EGLContext, for a shared context.final
Methods
-
copyWith(
{NativePointer? display, NativePointer? config, OpenGlClientApi? clientApi, NativePointer? getProcAddress}) → EglContextDescriptor - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited