pub trait IDirect3DSwapChain9ExExt: AsSafe<IDirect3DSwapChain9Ex> {
    fn get_display_mode_ex(
        &self
    ) -> Result<(DisplayModeEx, DisplayRotation), MethodError> { ... }
fn get_last_present_count(&self) -> Result<UINT, MethodError> { ... }
fn get_present_statistics(&self) -> Result<PresentStats, MethodError> { ... } }
Expand description

[docs.microsoft.com] IDirect3DSwapChain9Ex extension methods

Methods

thindxdocs.microsoft.comdescription
get_display_mode_exGetDisplayModeExRetrieves the display mode’s spatial resolution, color resolution, refresh frequency, and rotation settings.
get_last_present_countGetLastPresentCountReturns the number of times the swapchain has been processed.
get_present_statisticsGetPresentStatisticsGets presentation statistics so an application can identify frames that do not have a Present method call.

Provided methods

[docs.microsoft.com] IDirect3DSwapChain9Ex::GetDisplayModeEx

Retrieves the display mode’s spatial resolution, color resolution, refresh frequency, and rotation settings.

[docs.microsoft.com] IDirect3DSwapChain9Ex::GetLastPresentCount

Returns the number of times the swapchain has been processed.

[docs.microsoft.com] IDirect3DSwapChain9Ex::GetPresentStatistics

Gets presentation statistics so an application can identify frames that do not have a Present method call.

Implementations on Foreign Types

Implementors