spout-rs 0.1.3

Rust bindings for Spout2 — GPU texture sharing on Windows
Documentation
/// A handle to a single Spout frame backed by a shared DirectX texture.
///
/// The underlying texture lives in GPU-shared memory — do not copy it to
/// the CPU. Drop this handle when you are done sampling the texture for the
/// current frame to release the shared texture reference.
pub struct Frame {
    // TODO: hold shared texture ID from BindSharedTexture + dimensions
}

impl Frame {
    /// OpenGL ID of the shared texture.
    pub fn texture_id(&self) -> u32 {
        unimplemented!()
    }

    /// Width of the frame texture in pixels.
    pub fn width(&self) -> u32 {
        unimplemented!()
    }

    /// Height of the frame texture in pixels.
    pub fn height(&self) -> u32 {
        unimplemented!()
    }
}