Class FPSCounter

Class Documentation

class inexor::vulkan_renderer::FPSCounter

A class for counting frames per seconds.

Public Functions

std::optional<std::uint32_t> update()

Private Members

std::uint32_t m_frames = {0}
std::chrono::time_point<std::chrono::high_resolution_clock> m_last_time
float m_fps_update_interval = {1.0f}