Optional
canvas
Optional
context
context?: WebGLRenderingContext
Optional
precision
precision?: string
Optional
alpha
alpha?: boolean
Optional
premultipliedAlpha
premultipliedAlpha?: boolean
Optional
antialias
antialias?: boolean
Optional
stencil
stencil?: boolean
Optional
preserveDrawingBuffer
preserveDrawingBuffer?: boolean
Optional
powerPreference
powerPreference?: string
Optional
depth
depth?: boolean
Optional
logarithmicDepthBuffer
logarithmicDepthBuffer?: boolean
Optional
failIfMajorPerformanceCaveat
failIfMajorPerformanceCaveat?: boolean
A Canvas where the renderer draws its output.