Trait crabgrab::feature::dxgi::WindowsDxgiVideoFrame   
source · pub trait WindowsDxgiVideoFrame {
    // Required method
    fn get_dxgi_surface(
        &self
    ) -> Result<(IDXGISurface, DirectXPixelFormat), WindowsDxgiVideoFrameError>;
}Expand description
A video frame which can inter-operate with DXGI
Required Methods§
sourcefn get_dxgi_surface(
    &self
) -> Result<(IDXGISurface, DirectXPixelFormat), WindowsDxgiVideoFrameError>
 
fn get_dxgi_surface( &self ) -> Result<(IDXGISurface, DirectXPixelFormat), WindowsDxgiVideoFrameError>
Get the surface texture for this video frame