[−][src]Struct dxplr::dxgi::Factory5
Implementations
impl Factory5
[src]
pub fn as_factory(&self) -> Factory
[src]
impl Factory5
[src]
pub fn as_factory1(&self) -> Factory1
[src]
impl Factory5
[src]
pub fn as_factory2(&self) -> Factory2
[src]
impl Factory5
[src]
pub fn as_factory3(&self) -> Factory3
[src]
impl Factory5
[src]
pub fn as_fatory4(&self) -> Factory4
[src]
Trait Implementations
impl Clone for Factory5
[src]
impl Debug for Factory5
[src]
impl Eq for Factory5
[src]
impl IFactory for Factory5
[src]
pub fn create_software_adapter(
&self,
module: HMODULE
) -> Result<Adapter, HResult>
[src]
&self,
module: HMODULE
) -> Result<Adapter, HResult>
pub fn create_swap_chain<T: Interface>(
&self,
device: &T,
desc: &SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, Usage, u32, *const c_void, bool, SwapEffect>
) -> Result<SwapChain, HResult>
[src]
&self,
device: &T,
desc: &SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, Usage, u32, *const c_void, bool, SwapEffect>
) -> Result<SwapChain, HResult>
pub fn enum_adapters(&self) -> Result<Vec<Adapter>, HResult>
[src]
pub fn get_window_association(&self) -> Result<HWND, HResult>
[src]
pub fn make_window_association(
&self,
hwnd: &impl WindowHandle,
flags: Option<MakeWindowAssociationFlag>
) -> Result<(), HResult>
[src]
&self,
hwnd: &impl WindowHandle,
flags: Option<MakeWindowAssociationFlag>
) -> Result<(), HResult>
impl IFactory1 for Factory5
[src]
pub fn enum_adapters1(&self) -> Result<Vec<Adapter1>, HResult>
[src]
pub fn is_current(&self) -> bool
[src]
impl IFactory2 for Factory5
[src]
pub 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>
pub 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>
pub 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>
pub fn get_shared_resource_adapter_luid(
&self,
resource: HANDLE
) -> Result<Luid, HResult>
[src]
&self,
resource: HANDLE
) -> Result<Luid, HResult>
pub fn is_windowed_stereo_enabled(&self) -> bool
[src]
pub fn register_occlusion_status_event(
&self,
hevent: HANDLE
) -> Result<u32, HResult>
[src]
&self,
hevent: HANDLE
) -> Result<u32, HResult>
pub fn register_occlusion_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
pub fn register_stereo_status_event(
&self,
hevent: HANDLE
) -> Result<u32, HResult>
[src]
&self,
hevent: HANDLE
) -> Result<u32, HResult>
pub fn register_stereo_status_window(
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
[src]
&self,
hwnd: &impl WindowHandle,
msg: UINT
) -> Result<u32, HResult>
pub fn unregister_occlusion_status(&self, cookie: u32)
[src]
pub fn unregister_stereo_status(&self, cookie: u32)
[src]
impl IFactory3 for Factory5
[src]
pub fn get_creation_flags(&self) -> CreateFactoryFlag
[src]
impl IFactory4 for Factory5
[src]
pub fn enum_adapter_by_luid<T: IAdapter>(
&self,
adapter_luid: Luid
) -> Result<T, HResult>
[src]
&self,
adapter_luid: Luid
) -> Result<T, HResult>
pub fn enum_warp_adapter<T: IAdapter>(&self) -> Result<T, HResult>
[src]
impl IFactory5 for Factory5
[src]
pub fn check_feature_support(
&self,
feature: Feature
) -> Result<FeatureSupoortData, HResult>
[src]
&self,
feature: Feature
) -> Result<FeatureSupoortData, HResult>
impl Interface for Factory5
[src]
type APIType = IDXGIFactory5
pub fn new(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn uuidof() -> Guid
[src]
pub fn as_ptr(&self) -> *mut Self::APIType
[src]
pub fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
pub fn as_unknown(&self) -> *mut IUnknown
[src]
pub fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
pub fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl PartialEq<Factory5> for Factory5
[src]
impl Send for Factory5
[src]
impl StructuralEq for Factory5
[src]
impl StructuralPartialEq for Factory5
[src]
impl Sync for Factory5
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,