A handle to a texture view.
A TextureView
object describes a texture and associated metadata needed by a RenderPipeline
or BindGroup
.
Methods
destroy():Void
Destroy the texture view.
Using the instance after this will throw a UseAfterDestroyException
exception.
Throws:
UseAfterDestroyException | If the instance was already destroyed. |
---|