Command hellotriangle

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

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 install dmitri.shuralyov.com/gpu/mtl/example/hellotriangle@latest

Documentation

Code

License