gfx

package
v0.0.0-...-3869400 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2016 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Distributed under the MIT license. See the LICENSE file. * Copyright (c) 2014--2016 Thomas Fogal

Distributed under the MIT license. See the LICENSE file. * Copyright (c) 2014--2016 Thomas Fogal

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Close

func Close()

func Context

func Context() error

func Exec

func Exec(f func() error) error

Execute a function in the gfx's thread. Synchronous.

func Main

func Main()

The application's main thread must lock and then call this.

Types

type Scalar2D

type Scalar2D interface {
	Pre() error
	Render(data []float32, dims []uint, maximum float32)
	Post()
}

func ScalarField2D

func ScalarField2D() Scalar2D

Jump to

Keyboard shortcuts

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