docs.rs failed to build spout-rs-0.1.2
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.
Visit the last successful build:
spout-rs-0.1.3
spout-rs
Rust bindings for Spout2 — GPU texture sharing on Windows via DirectX 11 and OpenGL.
Requirements
- Windows only (Spout2 is a Windows-exclusive library)
- A compiled
Spout.libimport library — setSPOUT2_LIB_DIRto its containing directory Spout.dllonPATHat runtime (found incmake-build/bin/Releaseafter building)
Building
After cloning, run the bootstrap task to install git hooks, initialise submodules, and compile Spout2:
Then set SPOUT2_LIB_DIR before building or running tests:
Usage
Sender
use SpoutSender;
let mut sender = new;
// Each frame, after rendering to a texture:
sender.send_texture;
sender.hold_fps;
Receiver
use SpoutReceiver;
let mut receiver = new;
// Each frame:
if receiver.is_connected