Trait crabgrab::feature::dxgi::WindowsDxgiCaptureStream
source · pub trait WindowsDxgiCaptureStream {
// Required methods
fn get_dxgi_adapter(
&self
) -> Result<IDXGIAdapter, WindowsDxgiCaptureStreamError>;
fn get_dxgi_device(&self) -> IDXGIDevice;
}
Expand description
A capture stream which can inter-operate with DXGI
Required Methods§
sourcefn get_dxgi_adapter(
&self
) -> Result<IDXGIAdapter, WindowsDxgiCaptureStreamError>
fn get_dxgi_adapter( &self ) -> Result<IDXGIAdapter, WindowsDxgiCaptureStreamError>
Get the DXGI adapter used by the capture stream for frame generation
sourcefn get_dxgi_device(&self) -> IDXGIDevice
fn get_dxgi_device(&self) -> IDXGIDevice
Get the DXGI device used by the capture stream for frame generation