Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FPSCounter ¶
type FPSCounter struct {
// contains filtered or unexported fields
}
func (*FPSCounter) FPS ¶
func (f *FPSCounter) FPS() uint32
func (*FPSCounter) Update ¶
func (f *FPSCounter) Update(deltaTime float64, updateRate uint32)
deltaTime: seconds since the previous frame updateRate: rate, in seconds, at which the FPS are computed
Click to show internal directories.
Click to hide internal directories.