We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 51f0423 commit 210027dCopy full SHA for 210027d
dist/index.d.ts
@@ -3307,7 +3307,10 @@ interface GPUTexture
3307
* no such restriction.
3308
*
3309
* @todo Temporarily optional until all browsers have implemented it.
3310
- * Check support before using. (Use the non-null assertion operator `!` where needed.)
+ * It is safe to access on any browser, as it will just (correctly) return
3311
+ * `undefined` if not implemented. Note, depending on the device, `undefined`
3312
+ * is a valid value even in browsers that implement this attribute. (So be
3313
+ * careful if using the non-null assertion operator `!` on this.)
3314
*/
3315
readonly textureBindingViewDimension?:
3316
| GPUTextureViewDimension
0 commit comments