WebGlContextKind class final

How a render session gets its WebGL context.

See mln_web_gl_context_kind in the C API reference.

Constructors

WebGlContextKind.fromRawValue(int rawValue)
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
rawValue → int
The value's C representation, which may be one this binding predates.
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Constants

existing → const WebGlContextKind
The session uses a context that you created with emscripten_webgl_create_context().
transferredCanvas → const WebGlContextKind
The library transfers the canvas that canvas_selector names to a worker and creates the context there.