pub trait IDCompositionSurfaceFactory_Impl: Sized {
    // Required methods
    fn CreateSurface(
        &self,
        width: u32,
        height: u32,
        pixelformat: DXGI_FORMAT,
        alphamode: DXGI_ALPHA_MODE,
    ) -> Result<IDCompositionSurface>;
    fn CreateVirtualSurface(
        &self,
        initialwidth: u32,
        initialheight: u32,
        pixelformat: DXGI_FORMAT,
        alphamode: DXGI_ALPHA_MODE,
    ) -> Result<IDCompositionVirtualSurface>;
}

Required Methods§

fn CreateSurface( &self, width: u32, height: u32, pixelformat: DXGI_FORMAT, alphamode: DXGI_ALPHA_MODE, ) -> Result<IDCompositionSurface>

fn CreateVirtualSurface( &self, initialwidth: u32, initialheight: u32, pixelformat: DXGI_FORMAT, alphamode: DXGI_ALPHA_MODE, ) -> Result<IDCompositionVirtualSurface>

Object Safety§

This trait is not object safe.

Implementors§