Function TRAP::Graphics::RenderCommand::GetGPUGraphicsFrameTime#

Function Documentation#

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

Retrieve the GPU side frame time for the graphics queue.

Remark

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

Parameters:

windowWindow to get frame time from.

Returns:

GPU Graphics frame time in milliseconds.