Struct mltg_bindings::Windows::Win32::Graphics::Dxgi::IDXGIFactory4 [−][src]
#[repr(transparent)]pub struct IDXGIFactory4(_);
Implementations
pub unsafe fn SetPrivateData(
&self,
name: *const Guid,
datasize: u32,
pdata: *const c_void
) -> Result<()>
pub unsafe fn SetPrivateDataInterface<'a>(
&self,
name: *const Guid,
punknown: impl IntoParam<'a, IUnknown>
) -> Result<()>
pub unsafe fn GetPrivateData(
&self,
name: *const Guid,
pdatasize: *mut u32,
pdata: *mut c_void
) -> Result<()>
pub unsafe fn MakeWindowAssociation<'a>(
&self,
windowhandle: impl IntoParam<'a, HWND>,
flags: u32
) -> Result<()>
pub unsafe fn CreateSwapChain<'a>(
&self,
pdevice: impl IntoParam<'a, IUnknown>,
pdesc: *mut DXGI_SWAP_CHAIN_DESC
) -> Result<IDXGISwapChain>
pub unsafe fn CreateSoftwareAdapter<'a>(
&self,
module: impl IntoParam<'a, HINSTANCE>
) -> Result<IDXGIAdapter>
pub unsafe fn CreateSwapChainForHwnd<'a>(
&self,
pdevice: impl IntoParam<'a, IUnknown>,
hwnd: impl IntoParam<'a, HWND>,
pdesc: *const DXGI_SWAP_CHAIN_DESC1,
pfullscreendesc: *const DXGI_SWAP_CHAIN_FULLSCREEN_DESC,
prestricttooutput: impl IntoParam<'a, IDXGIOutput>
) -> Result<IDXGISwapChain1>
pub unsafe fn CreateSwapChainForCoreWindow<'a>(
&self,
pdevice: impl IntoParam<'a, IUnknown>,
pwindow: impl IntoParam<'a, IUnknown>,
pdesc: *const DXGI_SWAP_CHAIN_DESC1,
prestricttooutput: impl IntoParam<'a, IDXGIOutput>
) -> Result<IDXGISwapChain1>
pub unsafe fn RegisterStereoStatusWindow<'a>(
&self,
windowhandle: impl IntoParam<'a, HWND>,
wmsg: u32
) -> Result<u32>
pub unsafe fn RegisterStereoStatusEvent<'a>(
&self,
hevent: impl IntoParam<'a, HANDLE>
) -> Result<u32>
pub unsafe fn RegisterOcclusionStatusWindow<'a>(
&self,
windowhandle: impl IntoParam<'a, HWND>,
wmsg: u32
) -> Result<u32>
pub unsafe fn RegisterOcclusionStatusEvent<'a>(
&self,
hevent: impl IntoParam<'a, HANDLE>
) -> Result<u32>
pub unsafe fn CreateSwapChainForComposition<'a>(
&self,
pdevice: impl IntoParam<'a, IUnknown>,
pdesc: *const DXGI_SWAP_CHAIN_DESC1,
prestricttooutput: impl IntoParam<'a, IDXGIOutput>
) -> Result<IDXGISwapChain1>
pub unsafe fn EnumAdapterByLuid<'a, T: Interface>(
&self,
adapterluid: impl IntoParam<'a, LUID>
) -> Result<T>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDXGIFactory4
impl !Send for IDXGIFactory4
impl !Sync for IDXGIFactory4
impl Unpin for IDXGIFactory4
impl UnwindSafe for IDXGIFactory4
Blanket Implementations
type DefaultType = Option<T>
Converts from Self::DefaultType
to Result<T>
.
Returns a pointer for setting the object’s value via an ABI call.
Mutably borrows from an owned value. Read more