Trait windows::Win32::Graphics::Dxgi::IDXGIFactory2_Impl

pub trait IDXGIFactory2_Impl: Sized + IDXGIFactory1_Impl {
    // Required methods
    fn IsWindowedStereoEnabled(&self) -> BOOL;
    fn CreateSwapChainForHwnd(
        &self,
        pdevice: Option<&IUnknown>,
        hwnd: HWND,
        pdesc: *const DXGI_SWAP_CHAIN_DESC1,
        pfullscreendesc: *const DXGI_SWAP_CHAIN_FULLSCREEN_DESC,
        prestricttooutput: Option<&IDXGIOutput>,
    ) -> Result<IDXGISwapChain1>;
    fn CreateSwapChainForCoreWindow(
        &self,
        pdevice: Option<&IUnknown>,
        pwindow: Option<&IUnknown>,
        pdesc: *const DXGI_SWAP_CHAIN_DESC1,
        prestricttooutput: Option<&IDXGIOutput>,
    ) -> Result<IDXGISwapChain1>;
    fn GetSharedResourceAdapterLuid(&self, hresource: HANDLE) -> Result<LUID>;
    fn RegisterStereoStatusWindow(
        &self,
        windowhandle: HWND,
        wmsg: u32,
    ) -> Result<u32>;
    fn RegisterStereoStatusEvent(&self, hevent: HANDLE) -> Result<u32>;
    fn UnregisterStereoStatus(&self, dwcookie: u32);
    fn RegisterOcclusionStatusWindow(
        &self,
        windowhandle: HWND,
        wmsg: u32,
    ) -> Result<u32>;
    fn RegisterOcclusionStatusEvent(&self, hevent: HANDLE) -> Result<u32>;
    fn UnregisterOcclusionStatus(&self, dwcookie: u32);
    fn CreateSwapChainForComposition(
        &self,
        pdevice: Option<&IUnknown>,
        pdesc: *const DXGI_SWAP_CHAIN_DESC1,
        prestricttooutput: Option<&IDXGIOutput>,
    ) -> Result<IDXGISwapChain1>;
}

Required Methods§

fn IsWindowedStereoEnabled(&self) -> BOOL

fn CreateSwapChainForHwnd( &self, pdevice: Option<&IUnknown>, hwnd: HWND, pdesc: *const DXGI_SWAP_CHAIN_DESC1, pfullscreendesc: *const DXGI_SWAP_CHAIN_FULLSCREEN_DESC, prestricttooutput: Option<&IDXGIOutput>, ) -> Result<IDXGISwapChain1>

fn CreateSwapChainForCoreWindow( &self, pdevice: Option<&IUnknown>, pwindow: Option<&IUnknown>, pdesc: *const DXGI_SWAP_CHAIN_DESC1, prestricttooutput: Option<&IDXGIOutput>, ) -> Result<IDXGISwapChain1>

fn GetSharedResourceAdapterLuid(&self, hresource: HANDLE) -> Result<LUID>

fn RegisterStereoStatusWindow( &self, windowhandle: HWND, wmsg: u32, ) -> Result<u32>

fn RegisterStereoStatusEvent(&self, hevent: HANDLE) -> Result<u32>

fn UnregisterStereoStatus(&self, dwcookie: u32)

fn RegisterOcclusionStatusWindow( &self, windowhandle: HWND, wmsg: u32, ) -> Result<u32>

fn RegisterOcclusionStatusEvent(&self, hevent: HANDLE) -> Result<u32>

fn UnregisterOcclusionStatus(&self, dwcookie: u32)

fn CreateSwapChainForComposition( &self, pdevice: Option<&IUnknown>, pdesc: *const DXGI_SWAP_CHAIN_DESC1, prestricttooutput: Option<&IDXGIOutput>, ) -> Result<IDXGISwapChain1>

Object Safety§

This trait is not object safe.

Implementors§