Expand description
GPU frame capture from wgpu render targets.
Provides a trait FrameCapture with platform-specific implementations:
- Metal/IOSurface (macOS): zero-copy via
wgpu-halMetal interop - Vulkan/CUDA (NVIDIA): zero-copy via external memory export
- Staging buffer (fallback): triple-buffered
copy_texture_to_buffer
Modules§
- staging
- Triple-buffered staging buffer capture (cross-platform fallback).
Structs§
- Frame
Checksum - Diagnostic checksum over canonical RGBA8 pixel bytes.
Enums§
- Capture
Error - Captured
Frame - Handle to a captured frame, ready for the encoder.
Traits§
- Frame
Capture - Trait for frame capture implementations.