Trait windows::Win32::Graphics::Dxgi::IDXGISwapChain2_Impl

pub trait IDXGISwapChain2_Impl: Sized + IDXGISwapChain1_Impl {
    // Required methods
    fn SetSourceSize(&self, width: u32, height: u32) -> Result<()>;
    fn GetSourceSize(&self, pwidth: *mut u32, pheight: *mut u32) -> Result<()>;
    fn SetMaximumFrameLatency(&self, maxlatency: u32) -> Result<()>;
    fn GetMaximumFrameLatency(&self) -> Result<u32>;
    fn GetFrameLatencyWaitableObject(&self) -> HANDLE;
    fn SetMatrixTransform(
        &self,
        pmatrix: *const DXGI_MATRIX_3X2_F,
    ) -> Result<()>;
    fn GetMatrixTransform(&self, pmatrix: *mut DXGI_MATRIX_3X2_F) -> Result<()>;
}

Required Methods§

fn SetSourceSize(&self, width: u32, height: u32) -> Result<()>

fn GetSourceSize(&self, pwidth: *mut u32, pheight: *mut u32) -> Result<()>

fn SetMaximumFrameLatency(&self, maxlatency: u32) -> Result<()>

fn GetMaximumFrameLatency(&self) -> Result<u32>

fn GetFrameLatencyWaitableObject(&self) -> HANDLE

fn SetMatrixTransform(&self, pmatrix: *const DXGI_MATRIX_3X2_F) -> Result<()>

fn GetMatrixTransform(&self, pmatrix: *mut DXGI_MATRIX_3X2_F) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§