ReadonlyarrayThe number of array layers accessible to the view.
ReadonlybaseThe first array layer accessible to the view.
ReadonlybaseThe first mip level accessible to the view.
ReadonlymipThe number of mip levels accessible to the view.
ReadonlytextureThe texture this view references.
A TextureView specifies a texture and a subset of its mip levels and array layers. It is used when binding textures to compute shaders to specify which portion of the texture should be accessed. Create a TextureView using Texture#getView.
Note: TextureView is only supported on WebGPU. On WebGL, the full texture is always bound and this class has no effect.