Struct TextureView
A handle to a texture view.
struct TextureView
;
A TextureView object describes a texture and associated metadata needed by a RenderPipeline or BindGroup.
Fields
| Name | Type | Description |
|---|---|---|
descriptor
|
const(__C | Describes this texture view. |
multisampled
|
const(std | Whether this texture view is multisampled. |
Methods
| Name | Description |
|---|---|
binding
(location)
|
Creates a texture view binding. |
destroy
()
|
Release the handle to this texture view. |
textureSampler
(location, visibility, filtering)
|
Creates a texture-sampler pair of consecutive bindings, starting at location.
|