Interface GPUCommandEncoder

Hierarchy

Properties

label: string

Methods

  • Encode a command into the GPUCommandEncoder that fills a sub-region of a GPUBuffer with zeros.

    Parameters

    • buffer: GPUBuffer

      The GPUBuffer to clear.

    • Optional offset: number

      Offset in bytes into buffer where the sub-region to clear begins.

    • Optional size: number

      Size in bytes of the sub-region to clear. Defaults to the size of the buffer minus offset.

    Returns undefined

  • Resolves query results from a GPUQuerySet out into a range of a GPUBuffer. querySet: firstQuery: queryCount: destination: destinationOffset:

    Parameters

    • querySet: GPUQuerySet
    • firstQuery: number
    • queryCount: number
    • destination: GPUBuffer
    • destinationOffset: number

    Returns undefined

Generated using TypeDoc