pub trait IDCompositionDevice2_Impl: Sized {
Show 21 methods
// Required methods
fn Commit(&self) -> Result<()>;
fn WaitForCommitCompletion(&self) -> Result<()>;
fn GetFrameStatistics(
&self,
statistics: *mut DCOMPOSITION_FRAME_STATISTICS,
) -> Result<()>;
fn CreateVisual(&self) -> Result<IDCompositionVisual2>;
fn CreateSurfaceFactory(
&self,
renderingdevice: Option<&IUnknown>,
) -> Result<IDCompositionSurfaceFactory>;
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 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>;
}
Required Methods§
fn Commit(&self) -> Result<()>
fn WaitForCommitCompletion(&self) -> Result<()>
fn GetFrameStatistics( &self, statistics: *mut DCOMPOSITION_FRAME_STATISTICS, ) -> Result<()>
fn CreateVisual(&self) -> Result<IDCompositionVisual2>
fn CreateSurfaceFactory( &self, renderingdevice: Option<&IUnknown>, ) -> Result<IDCompositionSurfaceFactory>
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 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>
Object Safety§
This trait is not object safe.