pub trait IPresentationManager_Impl: Sized {
Show 13 methods // Required methods fn AddBufferFromResource( &self, resource: Option<&IUnknown>, ) -> Result<IPresentationBuffer>; fn CreatePresentationSurface( &self, compositionsurfacehandle: HANDLE, ) -> Result<IPresentationSurface>; fn GetNextPresentId(&self) -> u64; fn SetTargetTime(&self, targettime: &SystemInterruptTime) -> Result<()>; fn SetPreferredPresentDuration( &self, preferredduration: &SystemInterruptTime, deviationtolerance: &SystemInterruptTime, ) -> Result<()>; fn ForceVSyncInterrupt(&self, forcevsyncinterrupt: u8) -> Result<()>; fn Present(&self) -> Result<()>; fn GetPresentRetiringFence(&self, riid: *const GUID) -> Result<*mut c_void>; fn CancelPresentsFrom(&self, presentidtocancelfrom: u64) -> Result<()>; fn GetLostEvent(&self) -> Result<HANDLE>; fn GetPresentStatisticsAvailableEvent(&self) -> Result<HANDLE>; fn EnablePresentStatisticsKind( &self, presentstatisticskind: PresentStatisticsKind, enabled: u8, ) -> Result<()>; fn GetNextPresentStatistics(&self) -> Result<IPresentStatistics>;
}

Required Methods§

fn AddBufferFromResource( &self, resource: Option<&IUnknown>, ) -> Result<IPresentationBuffer>

fn CreatePresentationSurface( &self, compositionsurfacehandle: HANDLE, ) -> Result<IPresentationSurface>

fn GetNextPresentId(&self) -> u64

fn SetTargetTime(&self, targettime: &SystemInterruptTime) -> Result<()>

fn SetPreferredPresentDuration( &self, preferredduration: &SystemInterruptTime, deviationtolerance: &SystemInterruptTime, ) -> Result<()>

fn ForceVSyncInterrupt(&self, forcevsyncinterrupt: u8) -> Result<()>

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

fn GetPresentRetiringFence(&self, riid: *const GUID) -> Result<*mut c_void>

fn CancelPresentsFrom(&self, presentidtocancelfrom: u64) -> Result<()>

fn GetLostEvent(&self) -> Result<HANDLE>

fn GetPresentStatisticsAvailableEvent(&self) -> Result<HANDLE>

fn EnablePresentStatisticsKind( &self, presentstatisticskind: PresentStatisticsKind, enabled: u8, ) -> Result<()>

fn GetNextPresentStatistics(&self) -> Result<IPresentStatistics>

Object Safety§

This trait is not object safe.

Implementors§