Not sure what I’m doing wrong or this is a bug, but the FrameTiming
class does not seem to work, because it is returning 0 for both cpu and gpu frame time.
FrameTiming ft = new FrameTiming()
Update(){
print(ft.cpuFrameTime); //returns 0
print(ft.gpuFrameTime); //returns 0
}
The documentation doesn’t really say much on how to get it to work.
Any idea on why it’s not working, or what I’m doing wrong?