docs.rs failed to build syphon-wgpu-0.1.1
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
syphon-wgpu
High-level, zero-copy Syphon integration for wgpu applications on macOS. Publish your rendered frames to other apps, or receive frames as wgpu textures — GPU-to-GPU, no CPU readback.
Built on syphon-core and
syphon-metal.
macOS only. Requires
Syphon.frameworkat link/run time. Targetswgpu 29.
Highlights
SyphonWgpuOutput— publish aBgra8Unormwgpu texture each frame.publish()returns aPublishStatusso silent CPU fallbacks are impossible.SyphonWgpuInput— receive frames as wgpu textures, push-based viaconnect_with_channel()(no polling) or by UUID viaconnect_by_info().- Native BGRA end-to-end — no format conversion overhead.
- Triple-buffered IOSurface pool to avoid GPU stalls.
Output (server)
use ;
let mut output = new
.expect;
match output.publish
Input (client, push-based)
use SyphonWgpuInput;
let mut input = new;
let rx = input.connect_with_channel?;
while rx.recv.is_ok
# Ok::
Requirements
- macOS 10.13+ with a Metal-capable GPU
Syphon.frameworkon the framework search path (typically/Library/Frameworks)wgpu 29
Feature flags
logging— cap log output atwarnin release builds.max_perf— compile out all logging in release builds.
License
MIT. Part of the syphon-rs workspace.