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§

source

fn get_dxgi_surface( &self ) -> Result<(IDXGISurface, DirectXPixelFormat), WindowsDxgiVideoFrameError>

Get the surface texture for this video frame

Implementors§