Trait windows::Win32::Graphics::Dxgi::IDXGIFactory_Impl

pub trait IDXGIFactory_Impl: Sized + IDXGIObject_Impl {
    // Required methods
    fn EnumAdapters(&self, adapter: u32) -> Result<IDXGIAdapter>;
    fn MakeWindowAssociation(
        &self,
        windowhandle: HWND,
        flags: DXGI_MWA_FLAGS,
    ) -> Result<()>;
    fn GetWindowAssociation(&self) -> Result<HWND>;
    fn CreateSwapChain(
        &self,
        pdevice: Option<&IUnknown>,
        pdesc: *const DXGI_SWAP_CHAIN_DESC,
        ppswapchain: *mut Option<IDXGISwapChain>,
    ) -> HRESULT;
    fn CreateSoftwareAdapter(&self, module: HMODULE) -> Result<IDXGIAdapter>;
}

Required Methods§

fn EnumAdapters(&self, adapter: u32) -> Result<IDXGIAdapter>

fn MakeWindowAssociation( &self, windowhandle: HWND, flags: DXGI_MWA_FLAGS, ) -> Result<()>

fn GetWindowAssociation(&self) -> Result<HWND>

fn CreateSwapChain( &self, pdevice: Option<&IUnknown>, pdesc: *const DXGI_SWAP_CHAIN_DESC, ppswapchain: *mut Option<IDXGISwapChain>, ) -> HRESULT

fn CreateSoftwareAdapter(&self, module: HMODULE) -> Result<IDXGIAdapter>

Object Safety§

This trait is not object safe.

Implementors§