---
id: "api.HTMLCanvasElement.getContext.webgl2_context.options_powerPreference_parameter"
kind: "bcd"
category: "api"
canonical: "https://timetostable.com/feature/api.HTMLCanvasElement.getContext.webgl2_context.options_powerPreference_parameter"
bcd_version: "8.1.11"
---

# `api.HTMLCanvasElement.getContext.webgl2_context.options_powerPreference_parameter`

- **Category**: DOM API
- **Web Feature**: [webgl2](/feature/webgl2)
- **Specification**: https://registry.khronos.org/webgl/specs/latest/1.0/#WebGLContextAttributes

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 15 | 2021-09-20 |
| Safari on iOS | 15 | 2021-09-20 |
| WebView on iOS | 15 | 2021-09-20 |

