Docs.rs
gl-capture-0.0.2
gl-capture 0.0.2
Permalink
Docs.rs crate page
MIT
Links
Repository
crates.io
Source
Owners
vallentin
Dependencies
gl ^0.14
normal
glfw ^0.51
dev
png ^0.17
dev
Versions
7.14%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
gl_
capture
0.0.2
All Items
Crate Items
Structs
Enums
Traits
Functions
Type Aliases
Crate
gl_capture
Copy item path
Source
Structs
§
Bgr
Bgra
Image
Data
Rgb
Rgba
Enums
§
Capture
Format
Traits
§
Pixel
Functions
§
capture
⚠
capture_
into
⚠
read_
pixels
⚠
Panics if the length of pixel
data
, is not at least
w * h * format.
byte_size()
read_
pixels_
ptr
⚠
Type Aliases
§
BgrImage
Data
Bgra
Image
Data
RgbImage
Data
Rgba
Image
Data