exp: golang.org/x/exp/shiny/driver/gldriver Index | Files

package gldriver

import "golang.org/x/exp/shiny/driver/gldriver"

Package gldriver provides an OpenGL driver for accessing a screen.

Index

Package Files

buffer.go egl.go gldriver.go screen.go texture.go window.go x11.go

func Main

func Main(f func(screen.Screen))

Main is called by the program's main function to run the graphical application.

It calls f on the Screen, possibly in a separate goroutine, as some OS- specific libraries require being on 'the main thread'. It returns when f returns.

Package gldriver imports 22 packages (graph). Updated about 23 hours ago. Refresh now. Tools for package owners.