pub trait IDCompositionDevice_Impl: Sized {
Show 24 methods // Required methods fn Commit(&self) -> Result<()>; fn WaitForCommitCompletion(&self) -> Result<()>; fn GetFrameStatistics( &self, statistics: *mut DCOMPOSITION_FRAME_STATISTICS, ) -> Result<()>; fn CreateTargetForHwnd( &self, hwnd: HWND, topmost: BOOL, ) -> Result<IDCompositionTarget>; fn CreateVisual(&self) -> Result<IDCompositionVisual>; 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>; fn CreateSurfaceFromHandle(&self, handle: HANDLE) -> Result<IUnknown>; fn CreateSurfaceFromHwnd(&self, hwnd: HWND) -> Result<IUnknown>; fn CreateTranslateTransform( &self, ) -> Result<IDCompositionTranslateTransform>; fn CreateScaleTransform(&self) -> Result<IDCompositionScaleTransform>; fn CreateRotateTransform(&self) -> Result<IDCompositionRotateTransform>; fn CreateSkewTransform(&self) -> Result<IDCompositionSkewTransform>; fn CreateMatrixTransform(&self) -> Result<IDCompositionMatrixTransform>; fn CreateTransformGroup( &self, transforms: *const Option<IDCompositionTransform>, elements: u32, ) -> Result<IDCompositionTransform>; fn CreateTranslateTransform3D( &self, ) -> Result<IDCompositionTranslateTransform3D>; fn CreateScaleTransform3D(&self) -> Result<IDCompositionScaleTransform3D>; fn CreateRotateTransform3D(&self) -> Result<IDCompositionRotateTransform3D>; fn CreateMatrixTransform3D(&self) -> Result<IDCompositionMatrixTransform3D>; fn CreateTransform3DGroup( &self, transforms3d: *const Option<IDCompositionTransform3D>, elements: u32, ) -> Result<IDCompositionTransform3D>; fn CreateEffectGroup(&self) -> Result<IDCompositionEffectGroup>; fn CreateRectangleClip(&self) -> Result<IDCompositionRectangleClip>; fn CreateAnimation(&self) -> Result<IDCompositionAnimation>; fn CheckDeviceState(&self) -> Result<BOOL>;
}

Required Methods§

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

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

fn GetFrameStatistics( &self, statistics: *mut DCOMPOSITION_FRAME_STATISTICS, ) -> Result<()>

fn CreateTargetForHwnd( &self, hwnd: HWND, topmost: BOOL, ) -> Result<IDCompositionTarget>

fn CreateVisual(&self) -> Result<IDCompositionVisual>

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>

fn CreateSurfaceFromHandle(&self, handle: HANDLE) -> Result<IUnknown>

fn CreateSurfaceFromHwnd(&self, hwnd: HWND) -> Result<IUnknown>

fn CreateTranslateTransform(&self) -> Result<IDCompositionTranslateTransform>

fn CreateScaleTransform(&self) -> Result<IDCompositionScaleTransform>

fn CreateRotateTransform(&self) -> Result<IDCompositionRotateTransform>

fn CreateSkewTransform(&self) -> Result<IDCompositionSkewTransform>

fn CreateMatrixTransform(&self) -> Result<IDCompositionMatrixTransform>

fn CreateTransformGroup( &self, transforms: *const Option<IDCompositionTransform>, elements: u32, ) -> Result<IDCompositionTransform>

fn CreateTranslateTransform3D( &self, ) -> Result<IDCompositionTranslateTransform3D>

fn CreateScaleTransform3D(&self) -> Result<IDCompositionScaleTransform3D>

fn CreateRotateTransform3D(&self) -> Result<IDCompositionRotateTransform3D>

fn CreateMatrixTransform3D(&self) -> Result<IDCompositionMatrixTransform3D>

fn CreateTransform3DGroup( &self, transforms3d: *const Option<IDCompositionTransform3D>, elements: u32, ) -> Result<IDCompositionTransform3D>

fn CreateEffectGroup(&self) -> Result<IDCompositionEffectGroup>

fn CreateRectangleClip(&self) -> Result<IDCompositionRectangleClip>

fn CreateAnimation(&self) -> Result<IDCompositionAnimation>

fn CheckDeviceState(&self) -> Result<BOOL>

Object Safety§

This trait is not object safe.

Implementors§