Trait windows::Win32::Graphics::Dxgi::IDXGISwapChainMedia_Impl

pub trait IDXGISwapChainMedia_Impl: Sized {
    // Required methods
    fn GetFrameStatisticsMedia(
        &self,
        pstats: *mut DXGI_FRAME_STATISTICS_MEDIA,
    ) -> Result<()>;
    fn SetPresentDuration(&self, duration: u32) -> Result<()>;
    fn CheckPresentDurationSupport(
        &self,
        desiredpresentduration: u32,
        pclosestsmallerpresentduration: *mut u32,
        pclosestlargerpresentduration: *mut u32,
    ) -> Result<()>;
}

Required Methods§

fn GetFrameStatisticsMedia( &self, pstats: *mut DXGI_FRAME_STATISTICS_MEDIA, ) -> Result<()>

fn SetPresentDuration(&self, duration: u32) -> Result<()>

fn CheckPresentDurationSupport( &self, desiredpresentduration: u32, pclosestsmallerpresentduration: *mut u32, pclosestlargerpresentduration: *mut u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§