Struct dxgi_win::interfaces::IDXGISwapChain1 [] [src]

pub struct IDXGISwapChain1 {
    pub lpVtbl: *const IDXGISwapChain1Vtbl,
}

Fields

lpVtbl

Methods

impl IDXGISwapChain1

unsafe fn GetDesc1(&mut self, desc: *mut DXGI_SWAP_CHAIN_DESC1) -> HRESULT

unsafe fn GetFullscreenDesc(&mut self, desc: *mut DXGI_SWAP_CHAIN_FULLSCREEN_DESC) -> HRESULT

unsafe fn GetHwnd(&mut self, hwnd: *mut HWND) -> HRESULT

unsafe fn GetCoreWindow(&mut self, refiid: REFIID, unk: *mut *mut c_void) -> HRESULT

unsafe fn Present1(&mut self, sync_interval: UINT, present_flags: UINT, present_parameters: *const DXGI_PRESENT_PARAMETERS) -> HRESULT

unsafe fn IsTemporaryMonoSupported(&mut self) -> BOOL

unsafe fn GetRestrictToOutput(&mut self, restrict_to_output: *mut *mut IDXGIOutput) -> HRESULT

unsafe fn SetBackgroundColor(&mut self, color: *const DXGI_RGBA) -> HRESULT

unsafe fn GetBackgroundColor(&mut self, color: *mut DXGI_RGBA) -> HRESULT

unsafe fn SetRotation(&mut self, rotation: DXGI_MODE_ROTATION) -> HRESULT

unsafe fn GetRotation(&mut self, rotation: *mut DXGI_MODE_ROTATION) -> HRESULT

Methods from Deref<Target=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

Trait Implementations

impl Deref for IDXGISwapChain1

type Target = IDXGISwapChain

fn deref(&self) -> &IDXGISwapChain

impl DerefMut for IDXGISwapChain1

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

impl COMInterface for IDXGISwapChain1

fn i_unknown(&self) -> &IUnknown

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

impl QueryIID for IDXGISwapChain1

fn iid() -> GUID