Interface WebGLContextAttributes
interface WebGLContextAttributes {
alpha?: boolean;
antialias?: boolean;
depth?: boolean;
desynchronized?: boolean;
failIfMajorPerformanceCaveat?: boolean;
powerPreference?: WebGLPowerPreference;
premultipliedAlpha?: boolean;
preserveDrawingBuffer?: boolean;
stencil?: boolean;
xrCompatible?: boolean;
}
alpha?: boolean;
antialias?: boolean;
depth?: boolean;
desynchronized?: boolean;
failIfMajorPerformanceCaveat?: boolean;
powerPreference?: WebGLPowerPreference;
premultipliedAlpha?: boolean;
preserveDrawingBuffer?: boolean;
stencil?: boolean;
xrCompatible?: boolean;
}
Properties
Optional
alpha
alpha?: boolean
Optional
antialias
antialias?: boolean
Optional
depth
depth?: boolean
Optional
desynchronized
desynchronized?: boolean
Optional
failIfMajorPerformanceCaveat
failIfMajorPerformanceCaveat ?: boolean
Optional
powerPreference
Optional
premultipliedAlpha
premultipliedAlpha ?: boolean
Optional
preserveDrawingBuffer
preserveDrawingBuffer ?: boolean
Optional
stencil
stencil?: boolean
Optional
xrCompatible
xrCompatible ?: boolean