Enum TextureUsage

Different ways that you can use a texture.

enum TextureUsage : __C.WGPUTextureUsage { ... }

The usages determine what kind of memory the texture is allocated from and what actions the texture can partake in.

These can be combined in a bitwise combination.

Enum members

NameDescription
copyDst
copySrc
none
renderAttachment
storageBinding
textureBinding

See Also

wgpu::TextureUsages