Function TRAP::Graphics::RenderCommand::GetGPUComputeFrameTime#

Function Documentation#

f32 TRAP::Graphics::RenderCommand::GetGPUComputeFrameTime(const Window &window = *TRAP::Application::GetWindow())#

Retrieve the GPU side frame time for the compute queue.

Remark

Headless mode: This function is not available in headless mode.

Parameters:

windowWindow to get frame time from.

Returns:

GPU Compute frame time in milliseconds.