summaryrefslogtreecommitdiffstats
path: root/third_party/rust/metal/examples/headless-render/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/rust/metal/examples/headless-render/README.md')
-rw-r--r--third_party/rust/metal/examples/headless-render/README.md11
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/rust/metal/examples/headless-render/README.md b/third_party/rust/metal/examples/headless-render/README.md
new file mode 100644
index 0000000000..6bc434b44a
--- /dev/null
+++ b/third_party/rust/metal/examples/headless-render/README.md
@@ -0,0 +1,11 @@
+## headless-render
+
+Renders the triangle from the [window example](../window) headlessly and then writes it to a PNG file.
+
+![Screenshot of the final render](./screenshot.png)
+
+## To Run
+
+```
+cargo run --example headless-render
+```