Struct dxgi_win::interfaces::IDXGISwapChain2 [] [src]

pub struct IDXGISwapChain2 {
    pub lpVtbl: *const IDXGISwapChain2Vtbl,
}

Fields

lpVtbl

Methods

impl IDXGISwapChain2

unsafe fn SetSourceSize(&mut self, width: UINT, height: UINT) -> HRESULT

unsafe fn GetSourceSize(&mut self, width: *mut UINT, height: *mut UINT) -> HRESULT

unsafe fn SetMaximumFrameLatency(&mut self, max_latency: UINT) -> HRESULT

unsafe fn GetMaximumFrameLatency(&mut self, max_latency: *mut UINT) -> HRESULT

unsafe fn GetFrameLatencyWaitableObject(&mut self) -> HANDLE

unsafe fn SetMatrixTransform(&mut self, matrix: *const DXGI_MATRIX_3X2_F) -> HRESULT

unsafe fn GetMatrixTransform(&mut self, matrix: *mut DXGI_MATRIX_3X2_F) -> HRESULT

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

Trait Implementations

impl Deref for IDXGISwapChain2

type Target = IDXGISwapChain1

fn deref(&self) -> &IDXGISwapChain1

impl DerefMut for IDXGISwapChain2

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

impl COMInterface for IDXGISwapChain2

fn i_unknown(&self) -> &IUnknown

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

impl QueryIID for IDXGISwapChain2

fn iid() -> GUID