Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
Utils::CapZone Class Reference

This class just caps the function fps with the given constructor argument. More...

#include <CapFPS.h>

Public Member Functions

 CapZone (unsigned int fps)
 
 ~CapZone ()
 

Private Attributes

std::chrono::time_point< std::chrono::high_resolution_clock > m_Start
 
unsigned int m_FPS
 

Detailed Description

This class just caps the function fps with the given constructor argument.

Constructor & Destructor Documentation

◆ CapZone()

Utils::CapZone::CapZone ( unsigned int fps)
explicit

◆ ~CapZone()

Utils::CapZone::~CapZone ( )

Member Data Documentation

◆ m_FPS

unsigned int Utils::CapZone::m_FPS
private

◆ m_Start

std::chrono::time_point<std::chrono::high_resolution_clock> Utils::CapZone::m_Start
private

The documentation for this class was generated from the following files: