dxcapture
dxcapture is a library for capturing a Direct3D 11 device on Windows.
[]
= "1.1"
Details
let device = default;
let capture = new.unwrap;
let raw = loop ;
// taked primary monitor.
// hoge raw
Optional Features
-
img- Enable features that depend on theimagecrate= { = "1.1", = ["img"] }let device = default; let capture = new.unwrap; let image = capture.wait_img_frame.expect; let path = "image.png"; image.data.save.expect; -
mat- Enable features that depend on theopencvcrate= { = "1.1", = ["mat"] }use *; use ; let device = default; let capture = new.unwrap; let mat = capture.wait_mat_frame.expect; let path = "image.png"; imwrite.expect;
Exmaples
Documentation
License
Special Thanks
This crate completed thanks to wgc-rust-demo