display

package
v0.0.0-...-e0ac686 Latest Latest
Warning

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

Go to latest
Published: May 1, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Display

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

Display implements the LCD display using GL

func New

func New(controller *controller.Controller, onInput func(), debug bool) *Display

New implements an LCD display in GL

func (*Display) Cleanup

func (d *Display) Cleanup()

Cleanup returns resources to the OS

func (*Display) RenderFrame

func (d *Display) RenderFrame(image *image.RGBA) bool

RenderFrame draws a frame to the GL window and returns user input

Jump to

Keyboard shortcuts

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