loop

package
v1.4.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2016 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentFPS

func CurrentFPS() float64

func IsRunning

func IsRunning() bool

func Run

func Run(g GraphicsContext, width, height int, scale float64, title string, fps int) (err error)

Types

type GraphicsContext

type GraphicsContext interface {
	SetSize(width, height int, scale float64) error
	UpdateAndDraw(context *opengl.Context, updateCount int) error
}

Jump to

Keyboard shortcuts

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