Struct winapi::d3d9::IDirect3DSwapChain9 [] [src]

pub struct IDirect3DSwapChain9 {
    pub lpVtbl: *const IDirect3DSwapChain9Vtbl,
}

Fields

lpVtbl

Methods

impl IDirect3DSwapChain9

unsafe fn Present(&mut self, pSourceRect: *const RECT, pDestRect: *const RECT, hDestWindowOverride: HWND, pDirtyRegion: *const RGNDATA, dwFlags: DWORD) -> HRESULT

unsafe fn GetFrontBufferData(&mut self, pDestSurface: *mut IDirect3DSurface9) -> HRESULT

unsafe fn GetBackBuffer(&mut self, iBackBuffer: UINT, Type: D3DBACKBUFFER_TYPE, ppBackBuffer: *mut *mut IDirect3DSurface9) -> HRESULT

unsafe fn GetRasterStatus(&mut self, pRasterStatus: *mut D3DRASTER_STATUS) -> HRESULT

unsafe fn GetDisplayMode(&mut self, pMode: *mut D3DDISPLAYMODE) -> HRESULT

unsafe fn GetDevice(&mut self, ppDevice: *mut *mut IDirect3DDevice9) -> HRESULT

unsafe fn GetPresentParameters(&mut self, pPresentationParameters: *mut D3DPRESENT_PARAMETERS) -> HRESULT

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT

unsafe fn AddRef(&mut self) -> ULONG

unsafe fn Release(&mut self) -> ULONG

Trait Implementations

impl Deref for IDirect3DSwapChain9

type Target = IUnknown

fn deref(&self) -> &IUnknown

impl DerefMut for IDirect3DSwapChain9

fn deref_mut(&mut self) -> &mut IUnknown

Derived Implementations

impl Debug for IDirect3DSwapChain9

fn fmt(&self, __arg_0: &mut Formatter) -> Result