You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can be used to check if the current screen supports HDR.
79
+
80
+
```javascript
81
+
setInterval(() => {
82
+
console.log(checkHDRBitDepth());
83
+
}, 500);
84
+
```
85
+
76
86
# Canvas
77
87
78
88
**Note: Currently the Chrome flag `enable-experimental-web-platform-features` needs to be enabled to have HDR support for the `canvas` element. You need to tell your visitors about that.**
@@ -174,6 +184,10 @@ Use it as you'll do with a `WebGPURenderer`.
0 commit comments