MCPcopy Create free account
hub / github.com/Recordscript/recordscript / PixelBuffer

Class PixelBuffer

libs/scrap/src/common/x11.rs:35–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35pub struct PixelBuffer<'a> {
36 data: &'a [u8],
37 pixfmt: Pixfmt,
38 width: usize,
39 height: usize,
40 stride: Vec<usize>,
41}
42
43impl<'a> PixelBuffer<'a> {
44 pub fn new(data: &'a [u8], pixfmt: Pixfmt, width: usize, height: usize) -> Self {

Callers 3

frameMethod · 0.70
frameMethod · 0.70
frameMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected