pub trait IDirect3DSwapChain9_Impl: Sized {
    // Required methods
    fn Present(
        &self,
        psourcerect: *const RECT,
        pdestrect: *const RECT,
        hdestwindowoverride: HWND,
        pdirtyregion: *const RGNDATA,
        dwflags: u32,
    ) -> Result<()>;
    fn GetFrontBufferData(
        &self,
        pdestsurface: Option<&IDirect3DSurface9>,
    ) -> Result<()>;
    fn GetBackBuffer(
        &self,
        ibackbuffer: u32,
        type: D3DBACKBUFFER_TYPE,
    ) -> Result<IDirect3DSurface9>;
    fn GetRasterStatus(
        &self,
        prasterstatus: *mut D3DRASTER_STATUS,
    ) -> Result<()>;
    fn GetDisplayMode(&self, pmode: *mut D3DDISPLAYMODE) -> Result<()>;
    fn GetDevice(&self) -> Result<IDirect3DDevice9>;
    fn GetPresentParameters(
        &self,
        ppresentationparameters: *mut D3DPRESENT_PARAMETERS,
    ) -> Result<()>;
}

Required Methods§

fn Present( &self, psourcerect: *const RECT, pdestrect: *const RECT, hdestwindowoverride: HWND, pdirtyregion: *const RGNDATA, dwflags: u32, ) -> Result<()>

fn GetFrontBufferData( &self, pdestsurface: Option<&IDirect3DSurface9>, ) -> Result<()>

fn GetBackBuffer( &self, ibackbuffer: u32, type: D3DBACKBUFFER_TYPE, ) -> Result<IDirect3DSurface9>

fn GetRasterStatus(&self, prasterstatus: *mut D3DRASTER_STATUS) -> Result<()>

fn GetDisplayMode(&self, pmode: *mut D3DDISPLAYMODE) -> Result<()>

fn GetDevice(&self) -> Result<IDirect3DDevice9>

fn GetPresentParameters( &self, ppresentationparameters: *mut D3DPRESENT_PARAMETERS, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§