glfw

package
v0.0.0-...-84f57ce Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2026 License: GPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGPU

func NewGPU() (gpu.GPU, error)

Types

type Context

type Context struct {
	GPU gpu.GPU

	Theme  *material.Theme
	Ops    op.Ops
	Router input.Router

	Logger zerolog.Logger
}

func NewContext

func NewContext() Context

func NewDefaultContext

func NewDefaultContext() Context

func (*Context) Frame

func (c *Context) Frame(gtx layout.Context, size image.Point)

func (*Context) LayoutContext

func (c *Context) LayoutContext(window *glfw.Window) (gtx layout.Context, size image.Point)

func (*Context) Release

func (c *Context) Release()

Jump to

Keyboard shortcuts

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