canvas

package
v0.0.0-...-7ca6639 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2021 License: MPL-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Canvas

type Canvas struct {
	Program shader.Program
	// contains filtered or unexported fields
}

func NewCanvas

func NewCanvas() *Canvas

func NewCanvasWithProgram

func NewCanvasWithProgram(prog shader.Program) *Canvas

func (*Canvas) Bind

func (canvas *Canvas) Bind()

func (*Canvas) BindFor

func (canvas *Canvas) BindFor(context utils.BindingClosure)

func (*Canvas) Destroy

func (canvas *Canvas) Destroy()

func (*Canvas) Draw

func (canvas *Canvas) Draw()

func (*Canvas) Unbind

func (canvas *Canvas) Unbind()

Jump to

Keyboard shortcuts

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