#[repr(C)]pub struct IDXGIFactory {
pub lpVtbl: *const IDXGIFactoryVtbl,
}
Fields§
§lpVtbl: *const IDXGIFactoryVtbl
Implementations§
Source§impl IDXGIFactory
impl IDXGIFactory
pub unsafe fn EnumAdapters( &self, Adapter: UINT, ppAdapter: *mut *mut IDXGIAdapter, ) -> HRESULT
pub unsafe fn MakeWindowAssociation( &self, WindowHandle: HWND, Flags: UINT, ) -> HRESULT
pub unsafe fn GetWindowAssociation(&self, pWindowHandle: *mut HWND) -> HRESULT
pub unsafe fn CreateSwapChain( &self, pDevice: *mut IUnknown, pDesc: *mut DXGI_SWAP_CHAIN_DESC, ppSwapChain: *mut *mut IDXGISwapChain, ) -> HRESULT
pub unsafe fn CreateSoftwareAdapter( &self, Module: HMODULE, ppAdapter: *mut *mut IDXGIAdapter, ) -> HRESULT
Methods from Deref<Target = IDXGIObject>§
pub unsafe fn SetPrivateData( &self, Name: REFGUID, DataSize: UINT, pData: *const c_void, ) -> HRESULT
pub unsafe fn SetPrivateDataInterface( &self, Name: REFGUID, pUnknown: *const IUnknown, ) -> HRESULT
pub unsafe fn GetPrivateData( &self, Name: REFGUID, pDataSize: *mut UINT, pData: *mut c_void, ) -> HRESULT
pub unsafe fn GetParent( &self, riid: REFIID, ppParent: *mut *mut c_void, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDXGIFactory
impl Deref for IDXGIFactory
Source§type Target = IDXGIObject
type Target = IDXGIObject
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDXGIObject
fn deref(&self) -> &IDXGIObject
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDXGIFactory
impl RefUnwindSafe for IDXGIFactory
impl !Send for IDXGIFactory
impl !Sync for IDXGIFactory
impl Unpin for IDXGIFactory
impl UnwindSafe for IDXGIFactory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more