Skip to main content

Crate ustreamer_capture

Crate ustreamer_capture 

Source
Expand description

GPU frame capture from wgpu render targets.

Provides a trait FrameCapture with platform-specific implementations:

  • Metal/IOSurface (macOS): zero-copy via wgpu-hal Metal 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§

FrameChecksum
Diagnostic checksum over canonical RGBA8 pixel bytes.

Enums§

CaptureError
CapturedFrame
Handle to a captured frame, ready for the encoder.

Traits§

FrameCapture
Trait for frame capture implementations.