Trait windows::Media::Effects::IVideoCompositor_Impl

pub trait IVideoCompositor_Impl: Sized + IMediaExtension_Impl {
    // Required methods
    fn TimeIndependent(&self) -> Result<bool>;
    fn SetEncodingProperties(
        &self,
        backgroundproperties: Option<&VideoEncodingProperties>,
        device: Option<&IDirect3DDevice>,
    ) -> Result<()>;
    fn CompositeFrame(
        &self,
        context: Option<&CompositeVideoFrameContext>,
    ) -> Result<()>;
    fn Close(&self, reason: MediaEffectClosedReason) -> Result<()>;
    fn DiscardQueuedFrames(&self) -> Result<()>;
}

Required Methods§

fn TimeIndependent(&self) -> Result<bool>

fn SetEncodingProperties( &self, backgroundproperties: Option<&VideoEncodingProperties>, device: Option<&IDirect3DDevice>, ) -> Result<()>

fn CompositeFrame( &self, context: Option<&CompositeVideoFrameContext>, ) -> Result<()>

fn Close(&self, reason: MediaEffectClosedReason) -> Result<()>

fn DiscardQueuedFrames(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§