display

package
v0.0.0-...-b5e2f65 Latest Latest
Warning

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

Go to latest
Published: Nov 29, 2017 License: MIT Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoDisplay = xrror.Xrror("Display has not been created.")

Functions

func Close

func Close() error

func RegisterWith

func RegisterWith() lua.RegisterWith

func Window

func Window() (*glfw.Window, error)

Types

type Display

type Display struct {
	*glfw.Window
	*DisplayData
	*scene.Scene
}

func Current

func Current() (*Display, error)

func New

func New(p graphics.Provider, renders string) (*Display, error)

func (*Display) Priority

func (d *Display) Priority() int

func (*Display) Remove

func (d *Display) Remove(uint64)

func (*Display) Update

func (d *Display) Update(int64) error

type DisplayData

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

func DefaultDisplayData

func DefaultDisplayData() *DisplayData

Jump to

Keyboard shortcuts

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