Vixen
dd8b0a81

Rendering · guide

Capturing a frame to a file

A headless run renders on the real GPU with no window and writes its last frame as a PNG, so a sample's picture is a file two people can produce at once rather than a screenshot of whoever's display was in front.

Edit this page on GitHub

Documents

Next

  • A pass that reads the frame so far — Two ways for a pass to consume its own output — a snapshot of a target inside one frame, and a pair of targets alternating across them — and why both are resources the render graph owns rather than barriers somebody remembers.
  • Timing the frame on the GPU — The render graph brackets every pass it runs with a named scope, so a document that adds a node gets a bar in the timeline without anybody opting in — and an optional sink is what keeps that free when nobody is measuring.
  • Booting an application — The three calls behind VixenApp.Run, and the two seams that decide which platform and which device you get.