Aller au contenu

GPURenderPassTimestampWrites

Selects query slots for render-pass beginning, end, and optional per-stage timestamps.

Properties

beginningOfPassWriteIndex

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

endOfPassWriteIndex

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

querySet

abstract val querySet: GPUQuerySet
The GPUQuerySet, of type "timestamp", that the query results will be written to.