timing

package
v0.22.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 15, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DT

func DT() float32

DT is frame deltatime in seconds

func ElapsedTime

func ElapsedTime() uint64

ElapsedTime is time since game start

func FrameEnded

func FrameEnded()

func FrameStarted

func FrameStarted()

func GetAvgFPS added in v0.0.9

func GetAvgFPS() float32

GetAvgFPS returns the fps averaged over 1 second

func Init

func Init()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL