debug

package
v0.0.0-...-28c475f Latest Latest
Warning

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

Go to latest
Published: Mar 15, 2021 License: BSD-3-Clause Imports: 7 Imported by: 0

Documentation

Overview

Package debug provides GL-based debugging tools for apps.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FPS

type FPS struct {
	// contains filtered or unexported fields
}

FPS draws a count of the frames rendered per second.

func NewFPS

func NewFPS(images *glutil.Images) *FPS

NewFPS creates an FPS tied to the current GL context.

func (*FPS) Draw

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

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

func (*FPS) Release

func (f *FPS) Release()

Jump to

Keyboard shortcuts

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