gpu

package
v0.0.0-...-d956aad Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2020 License: Unlicense Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GPU

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

func New

func New(ctx *gl.Functions) (*GPU, error)

func (*GPU) Collect

func (g *GPU) Collect(profile bool, viewport image.Point, frameOps *op.Ops)

func (*GPU) EndFrame

func (g *GPU) EndFrame(profile bool) string

func (*GPU) Frame

func (g *GPU) Frame(profile bool, viewport image.Point)

func (*GPU) Release

func (g *GPU) Release()

Jump to

Keyboard shortcuts

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