BufferUsage
- Over
Int
How a buffer is used, combined with |. GpuDevice.writeBuffer and GpuDevice.readBuffer work on any buffer.
Values
Vertex = 1Index = 2Uniform = 4Storage = 8CopySrc = 16The source of
CommandEncoder.copyBufferToBuffer.CopyDst = 32The destination of
CommandEncoder.copyBufferToBuffer.
Fields and methods
var has(default, null):(this:Int, usage:BufferUsage) -> Bool