dmitri.shuralyov.com/gpu/mtl/...

Command movingtriangle

import "dmitri.shuralyov.com/gpu/mtl/example/movingtriangle"

Overview

movingtriangle is an example Metal program that displays a moving triangle in a window. It opens a window and renders a triangle that follows the mouse cursor.

Installation

go get -u dmitri.shuralyov.com/gpu/mtl/example/movingtriangle

Documentation

Code

License