Struct dxgi_win::interfaces::IDXGISwapChain [] [src]

pub struct IDXGISwapChain {
    pub lpVtbl: *const IDXGISwapChainVtbl,
}

Fields

lpVtbl

Methods

impl IDXGISwapChain

unsafe fn Present(&mut self, synt_interval: UINT, flags: UINT) -> HRESULT

unsafe fn GetBuffer(&mut self, buffer: UINT, riid: REFIID, surface: *mut *mut c_void) -> HRESULT

unsafe fn SetFullscreenState(&mut self, fullscreen: BOOL, target: *mut IDXGIOutput) -> HRESULT

unsafe fn GetFullscreenState(&mut self, fullscreen: *mut BOOL, target: *mut *mut IDXGIOutput) -> HRESULT

unsafe fn GetDesc(&mut self, desc: *mut DXGI_SWAP_CHAIN_DESC) -> HRESULT

unsafe fn ResizeBuffers(&mut self, bufcount: UINT, width: UINT, height: UINT, new_format: DXGI_FORMAT, swapchain_flags: UINT) -> HRESULT

unsafe fn ResizeTarget(&mut self, new_target_params: *const DXGI_MODE_DESC) -> HRESULT

unsafe fn GetContainingOutput(&mut self, output: *mut *mut IDXGIOutput) -> HRESULT

unsafe fn GetFrameStatistics(&mut self, stats: *mut DXGI_FRAME_STATISTICS) -> HRESULT

unsafe fn GetLastPresentCount(&mut self, last_present_count: *mut UINT) -> HRESULT

Methods from Deref<Target=IDXGIDeviceSubObject>

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

Trait Implementations

impl Deref for IDXGISwapChain

type Target = IDXGIDeviceSubObject

fn deref(&self) -> &IDXGIDeviceSubObject

impl DerefMut for IDXGISwapChain

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

impl COMInterface for IDXGISwapChain

fn i_unknown(&self) -> &IUnknown

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

impl QueryIID for IDXGISwapChain

fn iid() -> GUID