mobile: Index | Files

package debug

import ""

Package debug provides GL-based debugging tools for apps.


Package Files


type FPS Uses

type FPS struct {
    // contains filtered or unexported fields

FPS draws a count of the frames rendered per second.

func NewFPS Uses

func NewFPS(images *glutil.Images) *FPS

NewFPS creates an FPS tied to the current GL context.

func (*FPS) Draw Uses

func (p *FPS) Draw(sz size.Event)

Draw draws the per second framerate in the bottom-left of the screen.

func (*FPS) Release Uses

func (f *FPS) Release()

Package debug imports 7 packages (graph) and is imported by 51 packages. Updated 2020-12-20. Refresh now. Tools for package owners.