Properties
Optional
alpha
alpha?: boolean
Optional
antialias
antialias?: boolean
Optional
canvas
Optional
context
context?: WebGLRenderingContext
Optional
depth
depth?: boolean
Optional
failIfMajorPerformanceCaveat
failIfMajorPerformanceCaveat?: boolean
Optional
logarithmicDepthBuffer
logarithmicDepthBuffer?: boolean
Optional
powerPreference
powerPreference?: string
Optional
precision
precision?: string
Optional
premultipliedAlpha
premultipliedAlpha?: boolean
Optional
preserveDrawingBuffer
preserveDrawingBuffer?: boolean
Optional
stencil
stencil?: boolean
default is false.