fps

package
v0.0.0-...-c4e5c5e Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2022 License: MIT, Unlicense Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TimingStart = time.Time{}
View Source
var TimingWindow = time.Second

Functions

This section is empty.

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

func LayoutFpsTable

func LayoutFpsTable(th *material.Theme, gtx C) D

type FrameTiming

type FrameTiming struct {
	Start, End      time.Time
	FrameCount      int
	FramesPerSecond float64
}

Jump to

Keyboard shortcuts

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