[−][src]Struct dxplr::dxgi::Factory6
Methods
impl Factory6
[src]
pub fn as_factory(&self) -> Factory
[src]
impl Factory6
[src]
pub fn as_factory1(&self) -> Factory1
[src]
impl Factory6
[src]
pub fn as_factory2(&self) -> Factory2
[src]
impl Factory6
[src]
pub fn as_factory3(&self) -> Factory3
[src]
impl Factory6
[src]
pub fn as_fatory4(&self) -> Factory4
[src]
impl Factory6
[src]
pub fn as_factory5(&self) -> Factory5
[src]
Trait Implementations
impl Clone for Factory6
[src]
impl Debug for Factory6
[src]
impl Eq for Factory6
[src]
impl IFactory for Factory6
[src]
fn create_software_adapter(&self, module: HMODULE) -> Result<Adapter, HResult>
[src]
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>
fn enum_adapters(&self) -> Result<Vec<Adapter>, HResult>
[src]
fn get_window_association(&self) -> Result<HWND, HResult>
[src]
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 Factory6
[src]
fn enum_adapters1(&self) -> Result<Vec<Adapter1>, HResult>
[src]
fn is_current(&self) -> bool
[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>
fn unregister_occlusion_status(&self, cookie: u32)
[src]
fn unregister_stereo_status(&self, cookie: u32)
[src]
impl IFactory3 for Factory6
[src]
fn get_creation_flags(&self) -> CreateFactoryFlag
[src]
impl IFactory4 for Factory6
[src]
fn enum_adapter_by_luid<T: IAdapter>(
&self,
adapter_luid: Luid
) -> Result<T, HResult>
[src]
&self,
adapter_luid: Luid
) -> Result<T, HResult>
fn enum_warp_adapter<T: IAdapter>(&self) -> Result<T, HResult>
[src]
impl IFactory5 for Factory6
[src]
fn check_feature_support(
&self,
feature: Feature
) -> Result<FeatureSupoortData, HResult>
[src]
&self,
feature: Feature
) -> Result<FeatureSupoortData, HResult>
impl IFactory6 for Factory6
[src]
fn enum_adapter_by_gpu_preference<T: IAdapter>(
&self,
gpu_preference: GPUPreference
) -> Result<Vec<T>, HResult>
[src]
&self,
gpu_preference: GPUPreference
) -> Result<Vec<T>, HResult>
impl Interface for Factory6
[src]
type APIType = IDXGIFactory6
fn new(p: ComPtr<Self::APIType>) -> Self
[src]
fn uuidof() -> Guid
[src]
fn as_ptr(&self) -> *mut Self::APIType
[src]
fn as_com_ptr(&self) -> &ComPtr<Self::APIType>
[src]
fn as_unknown(&self) -> *mut IUnknown
[src]
fn from_com_ptr(p: ComPtr<Self::APIType>) -> Self
[src]
fn query_interface<T: Interface>(&self) -> Result<T, HResult>
[src]
impl PartialEq<Factory6> for Factory6
[src]
impl Send for Factory6
[src]
impl StructuralEq for Factory6
[src]
impl StructuralPartialEq for Factory6
[src]
impl Sync for Factory6
[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,
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.
fn to_owned(&self) -> T
[src]
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.
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>,