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

Command hellotriangle

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

Overview

hellotriangle is an example Metal program that renders a single frame with a triangle. It writes the frame to a triangle.png file in current working directory.

Installation

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

Documentation

Code

License