WebGLContextAttributes constructor

WebGLContextAttributes({
  1. bool alpha,
  2. bool depth,
  3. bool stencil,
  4. bool antialias,
  5. bool premultipliedAlpha,
  6. bool preserveDrawingBuffer,
  7. WebGLPowerPreference powerPreference,
  8. bool failIfMajorPerformanceCaveat,
  9. bool desynchronized,
  10. 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,
});