v45

package
v0.0.0-...-7707c45 Latest Latest
Warning

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

Go to latest
Published: May 4, 2018 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Overview

TODO : Add DMA support

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Driver

func Driver() gorat.Driver

Types

type GLBound

type GLBound uint32

func (GLBound) Delete

func (s GLBound) Delete()

func (GLBound) Get

func (s GLBound) Get() image.Rectangle

func (GLBound) Set

func (s GLBound) Set(bound image.Rectangle)

type GLColor

type GLColor uint32

func (GLColor) Delete

func (s GLColor) Delete()

func (GLColor) Get

func (s GLColor) Get() color.Color

func (GLColor) Set

func (s GLColor) Set(c color.Color)

type GLContext

type GLContext uint32

func (GLContext) Delete

func (s GLContext) Delete()

func (GLContext) Set

func (s GLContext) Set(p ...mgl32.Vec2)

type GLFiller

type GLFiller uint32

func (GLFiller) Delete

func (s GLFiller) Delete()

type GLProgram

type GLProgram uint32

func (GLProgram) BindBound

func (s GLProgram) BindBound(i int, o gorat.HardwareBound)

func (GLProgram) BindColor

func (s GLProgram) BindColor(i int, o gorat.HardwareColor)

func (GLProgram) BindContext

func (s GLProgram) BindContext(i int, o gorat.HardwareContext)

func (GLProgram) BindFiller

func (s GLProgram) BindFiller(i int, o gorat.HardwareFiller)

func (GLProgram) BindResult

func (s GLProgram) BindResult(i int, o gorat.HardwareResult)

func (GLProgram) BindWorkspace

func (s GLProgram) BindWorkspace(i int, o gorat.HardwareWorkspace)

func (GLProgram) Compute

func (s GLProgram) Compute(x, y, z int)

func (GLProgram) Use

func (s GLProgram) Use()

type GLResult

type GLResult uint32

func (GLResult) Clear

func (s GLResult) Clear()

func (GLResult) Delete

func (s GLResult) Delete()

func (GLResult) Get

func (s GLResult) Get() *image.RGBA

func (GLResult) Pointer

func (s GLResult) Pointer() uint32

func (GLResult) RectClear

func (s GLResult) RectClear(r image.Rectangle)

func (GLResult) Resize

func (s GLResult) Resize(w, h int)

func (GLResult) Size

func (s GLResult) Size() (w, h int)

type GLWorkspace

type GLWorkspace uint32

func (GLWorkspace) Clear

func (s GLWorkspace) Clear()

func (GLWorkspace) Delete

func (s GLWorkspace) Delete()

func (GLWorkspace) Print

func (s GLWorkspace) Print()

func (GLWorkspace) Resize

func (s GLWorkspace) Resize(w, h int)

func (GLWorkspace) Size

func (s GLWorkspace) Size() (w, h int)

func (GLWorkspace) Visualize

func (s GLWorkspace) Visualize() *image.RGBA

Jump to

Keyboard shortcuts

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