WglContextDescriptor class final
The WGL objects that a render session makes its OpenGL context from.
See mln_wgl_context_descriptor in the
C API reference.
Constructors
- WglContextDescriptor({required NativePointer deviceContext, NativePointer getProcAddress = NativePointer.nullPointer})
-
const
Properties
- deviceContext → NativePointer
-
An
HDC.final - getProcAddress → NativePointer
-
Your
wglGetProcAddress, 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
HGLRC, for a shared context.final
Methods
-
copyWith(
{NativePointer? deviceContext, NativePointer? getProcAddress}) → WglContextDescriptor - 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