True Fame Rate

how to get the prefpared frame rate for current time?

Replies

Hi lemong, a MTLCommandBuffer has gpuStartTime and gpuEndTime properties that allow you to calculate the number of seconds it took to execute the command buffer.