We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2c6cae8 commit 5e80c0eCopy full SHA for 5e80c0e
module/source/types/webgl-context-attributes.ts
@@ -47,11 +47,9 @@ type WebGLContextAttributes = {
47
* choose to ignore it. WebGL implementations use context lost and restored
48
* events to regulate power and memory consumption, regardless of the value of
49
* this attribute. Accepts the following values:
50
- * {
51
- * 0: "default",
52
- * 1: "low-power",
53
- * 2: "high-performance",
54
- * }
+ * 0: Default
+ * 1: Low Power
+ * 2: High Performance
55
* @default 0
56
*/
57
readonly powerPreference?: 0 | 1 | 2;
0 commit comments