Trait IVMRImageCompositor9_Impl
pub trait IVMRImageCompositor9_Impl: IUnknownImpl {
// Required methods
fn InitCompositionDevice(&self, pd3ddevice: Ref<'_, IUnknown>) -> Result<()>;
fn TermCompositionDevice(&self, pd3ddevice: Ref<'_, IUnknown>) -> Result<()>;
fn SetStreamMediaType(
&self,
dwstrmid: u32,
pmt: *const AM_MEDIA_TYPE,
ftexture: BOOL,
) -> Result<()>;
fn CompositeImage(
&self,
pd3ddevice: Ref<'_, IUnknown>,
pddsrendertarget: Ref<'_, IDirect3DSurface9>,
pmtrendertarget: *const AM_MEDIA_TYPE,
rtstart: i64,
rtend: i64,
dwclrbkgnd: u32,
pvideostreaminfo: *const VMR9VideoStreamInfo,
cstreams: u32,
) -> Result<()>;
}
Required Methods§
fn InitCompositionDevice(&self, pd3ddevice: Ref<'_, IUnknown>) -> Result<()>
fn TermCompositionDevice(&self, pd3ddevice: Ref<'_, IUnknown>) -> Result<()>
fn SetStreamMediaType( &self, dwstrmid: u32, pmt: *const AM_MEDIA_TYPE, ftexture: BOOL, ) -> Result<()>
fn CompositeImage( &self, pd3ddevice: Ref<'_, IUnknown>, pddsrendertarget: Ref<'_, IDirect3DSurface9>, pmtrendertarget: *const AM_MEDIA_TYPE, rtstart: i64, rtend: i64, dwclrbkgnd: u32, pvideostreaminfo: *const VMR9VideoStreamInfo, cstreams: u32, ) -> Result<()>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.