[−][src]Trait dxplr::dxgi::IFactory2
Required methods
fn create_swap_chain_for_composition<T: Interface>(
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_core_window<T: Interface, U: Interface>(
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_hwnd<T: Interface>(
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn get_shared_resource_adapter_luid(
&self,
resource: HANDLE
) -> Result<Luid, HResult>
&self,
resource: HANDLE
) -> Result<Luid, HResult>
fn is_windowed_stereo_enabled(&self) -> bool
fn register_occlusion_status_event(
&self,
hevent: HANDLE
) -> Result<u32, HResult>
&self,
hevent: HANDLE
) -> Result<u32, HResult>
fn register_occlusion_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn register_stereo_status_event(&self, hevent: HANDLE) -> Result<u32, HResult>
fn register_stereo_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn unregister_occlusion_status(&self, cookie: u32)
fn unregister_stereo_status(&self, cookie: u32)
Implementors
impl IFactory2 for Factory2
[src]
fn create_swap_chain_for_composition<T: Interface>(
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_core_window<T: Interface, U: Interface>(
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_hwnd<T: Interface>(
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn get_shared_resource_adapter_luid(
&self,
resource: HANDLE
) -> Result<Luid, HResult>
[src]
&self,
resource: HANDLE
) -> Result<Luid, HResult>
fn is_windowed_stereo_enabled(&self) -> bool
[src]
fn register_occlusion_status_event(
&self,
hevent: HANDLE
) -> Result<u32, HResult>
[src]
&self,
hevent: HANDLE
) -> Result<u32, HResult>
fn register_occlusion_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn register_stereo_status_event(&self, hevent: HANDLE) -> Result<u32, HResult>
[src]
fn register_stereo_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn unregister_occlusion_status(&self, cookie: u32)
[src]
fn unregister_stereo_status(&self, cookie: u32)
[src]
impl IFactory2 for Factory3
[src]
fn create_swap_chain_for_composition<T: Interface>(
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_core_window<T: Interface, U: Interface>(
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_hwnd<T: Interface>(
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn get_shared_resource_adapter_luid(
&self,
resource: HANDLE
) -> Result<Luid, HResult>
[src]
&self,
resource: HANDLE
) -> Result<Luid, HResult>
fn is_windowed_stereo_enabled(&self) -> bool
[src]
fn register_occlusion_status_event(
&self,
hevent: HANDLE
) -> Result<u32, HResult>
[src]
&self,
hevent: HANDLE
) -> Result<u32, HResult>
fn register_occlusion_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn register_stereo_status_event(&self, hevent: HANDLE) -> Result<u32, HResult>
[src]
fn register_stereo_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn unregister_occlusion_status(&self, cookie: u32)
[src]
fn unregister_stereo_status(&self, cookie: u32)
[src]
impl IFactory2 for Factory4
[src]
fn create_swap_chain_for_composition<T: Interface>(
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_core_window<T: Interface, U: Interface>(
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_hwnd<T: Interface>(
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn get_shared_resource_adapter_luid(
&self,
resource: HANDLE
) -> Result<Luid, HResult>
[src]
&self,
resource: HANDLE
) -> Result<Luid, HResult>
fn is_windowed_stereo_enabled(&self) -> bool
[src]
fn register_occlusion_status_event(
&self,
hevent: HANDLE
) -> Result<u32, HResult>
[src]
&self,
hevent: HANDLE
) -> Result<u32, HResult>
fn register_occlusion_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn register_stereo_status_event(&self, hevent: HANDLE) -> Result<u32, HResult>
[src]
fn register_stereo_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn unregister_occlusion_status(&self, cookie: u32)
[src]
fn unregister_stereo_status(&self, cookie: u32)
[src]
impl IFactory2 for Factory5
[src]
fn create_swap_chain_for_composition<T: Interface>(
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_core_window<T: Interface, U: Interface>(
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_hwnd<T: Interface>(
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn get_shared_resource_adapter_luid(
&self,
resource: HANDLE
) -> Result<Luid, HResult>
[src]
&self,
resource: HANDLE
) -> Result<Luid, HResult>
fn is_windowed_stereo_enabled(&self) -> bool
[src]
fn register_occlusion_status_event(
&self,
hevent: HANDLE
) -> Result<u32, HResult>
[src]
&self,
hevent: HANDLE
) -> Result<u32, HResult>
fn register_occlusion_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn register_stereo_status_event(&self, hevent: HANDLE) -> Result<u32, HResult>
[src]
fn register_stereo_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn unregister_occlusion_status(&self, cookie: u32)
[src]
fn unregister_stereo_status(&self, cookie: u32)
[src]
impl IFactory2 for Factory6
[src]
fn create_swap_chain_for_composition<T: Interface>(
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_core_window<T: Interface, U: Interface>(
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
window: &U,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn create_swap_chain_for_hwnd<T: Interface>(
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
[src]
&self,
device: &T,
hwnd: &impl WindowHandle,
desc: &SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>,
fullscreen_desc: Option<&SwapChainFullscreenDesc>,
restrict_to_output: Option<&Output>
) -> Result<SwapChain1, HResult>
fn get_shared_resource_adapter_luid(
&self,
resource: HANDLE
) -> Result<Luid, HResult>
[src]
&self,
resource: HANDLE
) -> Result<Luid, HResult>
fn is_windowed_stereo_enabled(&self) -> bool
[src]
fn register_occlusion_status_event(
&self,
hevent: HANDLE
) -> Result<u32, HResult>
[src]
&self,
hevent: HANDLE
) -> Result<u32, HResult>
fn register_occlusion_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
fn register_stereo_status_event(&self, hevent: HANDLE) -> Result<u32, HResult>
[src]
fn register_stereo_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>