DetectOptions
Options to choose and set up a renderer.
Extends
Section titled “Extends”Extended by
Section titled “Extended by”Properties
Section titled “Properties”failIfMajorPerformanceCaveat?
Section titled “failIfMajorPerformanceCaveat?”
optionalfailIfMajorPerformanceCaveat?:boolean
Refuse a context the browser says is much slower than usual (software rendering). Default true.
Inherited from
Section titled “Inherited from”GLOptions.failIfMajorPerformanceCaveat
instancing?
Section titled “instancing?”
optionalinstancing?:boolean
Turn off instancing / VAOs (tests, comparisons).
Inherited from
Section titled “Inherited from”
optionalvao?:boolean
Turn off vertex array objects (tests, comparisons).
Inherited from
Section titled “Inherited from”renderer?
Section titled “renderer?”
optionalrenderer?:RendererChoice
Force one (‘webgl’: 2, else 1). ‘auto’ (default): the order above. A forced one that fails falls back too.