Skip to content

ComputePassTimestampWrites

data class ComputePassTimestampWrites(
    val querySet: GPUQuerySet, 
    val beginningOfPassWriteIndex: GPUSize32? = null, 
    val endOfPassWriteIndex: GPUSize32? = null
) : GPUComputePassTimestampWrites
Selects query slots for compute-pass beginning and end timestamps.

Constructors

ComputePassTimestampWrites

constructor(
    querySet: GPUQuerySet, 
    beginningOfPassWriteIndex: GPUSize32? = null, 
    endOfPassWriteIndex: GPUSize32? = null
)

Properties

beginningOfPassWriteIndex

open override val beginningOfPassWriteIndex: GPUSize32?
If defined, indicates the query index in querySet into which the timestamp at the beginning of the compute pass will be written.

endOfPassWriteIndex

open override val endOfPassWriteIndex: GPUSize32?
If defined, indicates the query index in querySet into which the timestamp at the end of the compute pass will be written.

querySet

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