Trait winsafe::prelude::dxgi_IDXGISwapChain

source ·
pub trait dxgi_IDXGISwapChain: dxgi_IDXGIDeviceSubObject {
    // Provided methods
    fn GetContainingOutput(&self) -> HrResult<IDXGIOutput> { ... }
    fn GetDesc(&self) -> HrResult<DXGI_SWAP_CHAIN_DESC> { ... }
    fn GetFrameStatistics(&self) -> HrResult<DXGI_FRAME_STATISTICS> { ... }
    fn GetFullscreenState(&self) -> HrResult<(bool, Option<IDXGIOutput>)> { ... }
    fn Present(&self, sync_interval: u32, flags: DXGI_PRESENT) -> HrResult<()> { ... }
    fn ResizeTarget(
        &self,
        new_target_parameters: &DXGI_MODE_DESC
    ) -> HrResult<()> { ... }
    fn SetFullscreenState(
        &self,
        fullscreen: bool,
        target: Option<&impl dxgi_IDXGIOutput>
    ) -> HrResult<()> { ... }
}
Available on crate features kernel and dxgi only.
Expand description

This trait is enabled with the dxgi feature, and provides methods for IDXGISwapChain.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§