Trait windows::Win32::Graphics::Dxgi::IDXGIFactoryMedia_Impl

pub trait IDXGIFactoryMedia_Impl: Sized {
    // Required methods
    fn CreateSwapChainForCompositionSurfaceHandle(
        &self,
        pdevice: Option<&IUnknown>,
        hsurface: HANDLE,
        pdesc: *const DXGI_SWAP_CHAIN_DESC1,
        prestricttooutput: Option<&IDXGIOutput>,
    ) -> Result<IDXGISwapChain1>;
    fn CreateDecodeSwapChainForCompositionSurfaceHandle(
        &self,
        pdevice: Option<&IUnknown>,
        hsurface: HANDLE,
        pdesc: *const DXGI_DECODE_SWAP_CHAIN_DESC,
        pyuvdecodebuffers: Option<&IDXGIResource>,
        prestricttooutput: Option<&IDXGIOutput>,
    ) -> Result<IDXGIDecodeSwapChain>;
}

Required Methods§

fn CreateSwapChainForCompositionSurfaceHandle( &self, pdevice: Option<&IUnknown>, hsurface: HANDLE, pdesc: *const DXGI_SWAP_CHAIN_DESC1, prestricttooutput: Option<&IDXGIOutput>, ) -> Result<IDXGISwapChain1>

fn CreateDecodeSwapChainForCompositionSurfaceHandle( &self, pdevice: Option<&IUnknown>, hsurface: HANDLE, pdesc: *const DXGI_DECODE_SWAP_CHAIN_DESC, pyuvdecodebuffers: Option<&IDXGIResource>, prestricttooutput: Option<&IDXGIOutput>, ) -> Result<IDXGIDecodeSwapChain>

Object Safety§

This trait is not object safe.

Implementors§