Interface GPUQueue

Hierarchy

Properties

label: string

Methods

  • Returns a Promise that resolves once this queue finishes processing all the work submitted up to this moment. Resolution of this Promise implies the completion of mapAsync calls made prior to that call, on GPUBuffers last used exclusively on that queue.

    Returns Promise<undefined>

  • Schedules the execution of the command buffers by the GPU on this queue. Submitted command buffers cannot be used again. commandBuffers:

    Parameters

    Returns undefined

  • Issues a write operation of the provided data into a GPUBuffer.

    Parameters

    • buffer: GPUBuffer

      The buffer to write to.

    • bufferOffset: number

      Offset in bytes into buffer to begin writing at.

    • data: GPUAllowSharedBufferSource

      Data to write into buffer.

    • Optional dataOffset: number

      Offset in into data to begin writing from. Given in elements if data is a TypedArray and bytes otherwise.

    • Optional size: number

      Size of content to write from data to buffer. Given in elements if data is a TypedArray and bytes otherwise.

    Returns undefined

Generated using TypeDoc