OpenGlSurfaceDescriptor class final
An OpenGL surface to present to, for MapHandle.attachOpenGlSurface().
The session uses the surface until a replacement or release of the target completes, a detach or release of the session completes, or an abandon of it returns.
See mln_open_gl_surface_descriptor in the
C API reference.
Constructors
- OpenGlSurfaceDescriptor({required LogicalSize logicalSize, required OpenGlContextDescriptor context, NativePointer surface = NativePointer.nullPointer})
-
const
Properties
- context → OpenGlContextDescriptor
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- logicalSize → LogicalSize
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- surface → NativePointer
-
Your EGLSurface with EGL, or your HDC with WGL. WebGL doesn't use it.
final
Methods
-
copyWith(
{LogicalSize? logicalSize, OpenGlContextDescriptor? context, NativePointer? surface}) → OpenGlSurfaceDescriptor - 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