1
// Copyright (C) 2002-2011 Nikolaus Gebhardt
2
// This file is part of the "Irrlicht Engine".
3
// For conditions of distribution and use, see copyright notice in irrlicht.h
5
#ifndef __C_FPSCOUNTER_H_INCLUDED__
6
#define __C_FPSCOUNTER_H_INCLUDED__
21
//! returns current fps
24
//! returns primitive count
25
u32 getPrimitive() const;
27
//! returns average primitive count of last period
28
u32 getPrimitiveAverage() const;
30
//! returns accumulated primitive count since start
31
u32 getPrimitiveTotal() const;
33
//! to be called every frame
34
void registerFrame(u32 now, u32 primitive);
43
u32 PrimitivesCounted;
49
} // end namespace video
50
} // end namespace irr