Interface GPURenderPassTimestampWrites

    interface GPURenderPassTimestampWrites {
        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 render pass will be written.

    endOfPassWriteIndex?: number

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

    querySet: GPUQuerySet

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