WebGPU.rocks Logo

GPUBufferBinding

  • buffer: GPUBufferrequired

    GPUBuffer

    • label: USVString
    • size: GPUSize64
    • usage: GPUBufferUsageFlags
    • mapState: GPUBufferMapState
    • mapAsync(mode: GPUMapModeFlags, offset: GPUSize64, size: GPUSize64): Promise<void>
    • getMappedRange(offset: GPUSize64, size: GPUSize64): ArrayBuffer
    • unmap(): void
    • destroy(): void
  • offset: GPUSize64= 0

    GPUSize64

    typedef GPUSize64 = unsigned long long
  • size: GPUSize64

    GPUSize64

    typedef GPUSize64 = unsigned long long