Function TRAP::Graphics::RenderCommand::SetLatencyMode#

Function Documentation#

void TRAP::Graphics::RenderCommand::SetLatencyMode(LatencyMode mode, const Window &window = *TRAP::Application::GetWindow())#

Set the latency mode.

Remark

Only LatencyMode::Disabled is supported everywhere.

Remark

Windows: Other LatencyModes are only available on Windows 10 or newer with NVIDIA hardware.

Remark

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

Parameters:
  • mode – LatencyMode to set.

  • windowWindow to set latency mode for.