WebGLContextAttributes constructor
WebGLContextAttributes({ - bool alpha,
- bool depth,
- bool stencil,
- bool antialias,
- bool premultipliedAlpha,
- bool preserveDrawingBuffer,
- WebGLPowerPreference powerPreference,
- bool failIfMajorPerformanceCaveat,
- bool desynchronized,
- bool xrCompatible,
})
Implementation
external factory WebGLContextAttributes({
bool alpha,
bool depth,
bool stencil,
bool antialias,
bool premultipliedAlpha,
bool preserveDrawingBuffer,
WebGLPowerPreference powerPreference,
bool failIfMajorPerformanceCaveat,
bool desynchronized,
bool xrCompatible,
});