public static class NullFrameCaptureTurns the Null backend's recorded stream into a capture the panel can step through.
No guide page documents this yet — the page shows what the code says about itself.
Remarks
Doc 20's E4 names this: "`Vixen.Graphics.Null`'s recording harness is the shape" a frame capture takes. It is the only recording path the engine has today, and it is a real one — the editor's own frame, recorded against a Null device, is a stream of the same calls a Vulkan device would receive.
⚠ The one file in this assembly that knows a backend exists. Everything else takes CapturedCommand, so a Vulkan command-stream hook — doc 13's eventual answer, and the one that can capture a frame that is actually on screen — arrives as a second adapter beside this one rather than as a change to the frame debugger.
⚠ What this cannot give is the intermediate render target. Doc 13 wants stepping to draw N to present what the frame had drawn by then, which needs a device that actually executed the calls. A Null capture has the state and not the pixels, and the panel says so rather than showing an empty image somebody would read as a black target.
Methods (2)
public static FrameCapture From(CommandRecorder recorder, string name = "Captured frame")Converts a recorder's stream.
public static FrameCapture From(IReadOnlyList<RecordedCommand> stream, string name = "Captured frame")Converts a stream somebody else took out of a recorder.
Used by (1)
- FrameCaptureTestsVixen.Editor.Debugger.Tests