Interface GPUComputePassTimestampWrites

    interface GPUComputePassTimestampWrites {
        beginningOfPassWriteIndex?: number;
        endOfPassWriteIndex?: number;
        querySet: GPUQuerySet;
    }

    Properties

    beginningOfPassWriteIndex?: number

    If defined, indicates the query index in GPURenderPassTimestampWrites#querySet into which the timestamp at the beginning of the compute pass will be written.

    endOfPassWriteIndex?: number

    If defined, indicates the query index in GPURenderPassTimestampWrites#querySet into which the timestamp at the end of the compute pass will be written.

    querySet: GPUQuerySet

    The GPUQuerySet, of type GPUQueryType#"timestamp", that the query results will be written to.