WebGL - getContextAttributes
In this episode, I discuss getContextAttributes(), and briefly mention the attributes:
For details on each of these attributes, see: https://github.com/davidwparker/programmingtil-webgl/tree/master/0002-context-attributes https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2
- alpha
- depth
- stencil
- antialias
- premultipliedAlpha
- preserveDrawingBuffer
- preferLowPowerToHighPerformance
- failIfMajorPerformanceCaveat
For details on each of these attributes, see: https://github.com/davidwparker/programmingtil-webgl/tree/master/0002-context-attributes https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.2
© programmingtil.com