Trait IVideoCompositor_Impl
pub trait IVideoCompositor_Impl: IMediaExtension_Impl {
// Required methods
fn TimeIndependent(&self) -> Result<bool>;
fn SetEncodingProperties(
&self,
backgroundProperties: Ref<'_, VideoEncodingProperties>,
device: Ref<'_, IDirect3DDevice>,
) -> Result<()>;
fn CompositeFrame(
&self,
context: Ref<'_, CompositeVideoFrameContext>,
) -> Result<()>;
fn Close(&self, reason: MediaEffectClosedReason) -> Result<()>;
fn DiscardQueuedFrames(&self) -> Result<()>;
}
Required Methods§
fn TimeIndependent(&self) -> Result<bool>
fn SetEncodingProperties( &self, backgroundProperties: Ref<'_, VideoEncodingProperties>, device: Ref<'_, IDirect3DDevice>, ) -> Result<()>
fn CompositeFrame( &self, context: Ref<'_, CompositeVideoFrameContext>, ) -> Result<()>
fn Close(&self, reason: MediaEffectClosedReason) -> Result<()>
fn DiscardQueuedFrames(&self) -> 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.