Enum BufferUsage

Different ways that you can use a buffer.

enum BufferUsage : __C.WGPUBufferUsage { ... }

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

These can be combined in a bitwise combination.

Enum members

NameDescription
copyDst
copySrc
index
indirect
mapRead
mapWrite
none
queryResolve
storage
uniform
vertex

See Also

wgpu::BufferUsages