Function TRAP::Graphics::RenderCommand::GetGPUFPS#

Function Documentation#

u32 TRAP::Graphics::RenderCommand::GetGPUFPS(const Window &window = *TRAP::Application::GetWindow())#

Retrieve the GPU side frames per second.

Remark

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

Parameters:

windowWindow to get frames per second from.

Returns:

GPU frames per second.