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
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_selectornames to a worker and creates the context there.