Function writeBuffer

  • Writes data to a buffer.

    Parameters

    • device: Device

      the GPU device

    • buffer: Buffer

      the buffer to write to

    • data: ArrayBufferView

      the buffer data

    • offset: number = 0

      the byte offset into GPU buffer to begin writing to. Defaults to 0

    Returns void

Generated using TypeDoc