WebGPU.rocks Logo

GPUBufferUsageFlags

typedef GPUBufferUsageFlags = unsigned long
  • GPUBufferUsage.MAP_READ = 0x0001
  • GPUBufferUsage.MAP_WRITE = 0x0002
  • GPUBufferUsage.COPY_SRC = 0x0004
  • GPUBufferUsage.COPY_DST = 0x0008
  • GPUBufferUsage.INDEX = 0x0010
  • GPUBufferUsage.VERTEX = 0x0020
  • GPUBufferUsage.UNIFORM = 0x0040
  • GPUBufferUsage.STORAGE = 0x0080
  • GPUBufferUsage.INDIRECT = 0x0100
  • GPUBufferUsage.QUERY_RESOLVE = 0x0200