• Compression Streams API
  • Console and Debugging
  • DOM APIs
  • DOM Events
  • Encoding API
  • Fetch API
  • Fleek Node API
  • Observability
  • Scheduling
  • Streams API
  • Timers
  • Typed Arrays
  • Web APIs
  • Web Crypto API
  • Web File API
  • WebAssembly
  • WebGPU
  • WebSockets
  • Uncategorized
  • view all 376 symbols
  • Fleek Runtime APIs
  • WebGPU
    • GPUBuffer
class GPUBuffer
implements GPUObjectBase

Properties

label: string
readonly
mapState: GPUBufferMapState
readonly
size: number
readonly
usage: GPUFlagsConstant

Methods

destroy(): undefined
getMappedRange(
offset?: number,
size?: number,
): ArrayBuffer
mapAsync(
mode: GPUMapModeFlags,
offset?: number,
size?: number,
): Promise<undefined>
unmap(): undefined

Document Navigation

  • Properties
    • label
    • mapState
    • size
    • usage
  • Methods
    • destroy
    • getMappedRange
    • mapAsync
    • unmap