[−][src]Struct dxplr::dxgi::SwapChain3
Methods
impl SwapChain3
[src]
pub fn as_swapchain(&self) -> SwapChain
[src]
impl SwapChain3
[src]
pub fn as_swapchain1(&self) -> SwapChain1
[src]
impl SwapChain3
[src]
pub fn as_swapchain2(&self) -> SwapChain2
[src]
Trait Implementations
impl Clone for SwapChain3
[src]
fn clone(&self) -> SwapChain3
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for SwapChain3
[src]
impl Eq for SwapChain3
[src]
impl ISwapChain for SwapChain3
[src]
fn get_buffer<T: Interface>(&self, index: u32) -> Result<T, HResult>
[src]
fn get_containing_output(&self) -> Result<Output, HResult>
[src]
fn get_desc(
&self
) -> Result<SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, Usage, u32, *const c_void, bool, SwapEffect>, HResult>
[src]
&self
) -> Result<SwapChainDesc<ModeDesc<u32, u32, Rational, Format>, Usage, u32, *const c_void, bool, SwapEffect>, HResult>
fn get_frame_statistics(&self) -> Result<FrameStatistics, HResult>
[src]
fn get_fullscreen_state(&self) -> Result<(bool, Option<Output>), HResult>
[src]
fn get_last_present_count(&self) -> Result<u32, HResult>
[src]
fn present(&self, interval: u32, flags: Option<Present>) -> Result<(), HResult>
[src]
fn resize_buffers(
&self,
buffer_count: u32,
width: u32,
height: u32,
format: Format,
flags: Option<SwapChainFlag>
) -> Result<(), HResult>
[src]
&self,
buffer_count: u32,
width: u32,
height: u32,
format: Format,
flags: Option<SwapChainFlag>
) -> Result<(), HResult>
fn set_fullscreen_state(
&self,
fullscreen: bool,
target: Option<&Output>
) -> Result<(), HResult>
[src]
&self,
fullscreen: bool,
target: Option<&Output>
) -> Result<(), HResult>
impl ISwapChain1 for SwapChain3
[src]
fn get_background_color(&self) -> Result<RGBA, HResult>
[src]
fn get_core_window<T: Interface>(&self) -> Result<T, HResult>
[src]
fn get_desc1(
&self
) -> Result<SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>, HResult>
[src]
&self
) -> Result<SwapChainDesc1<u32, u32, Format, Usage, u32, SwapEffect>, HResult>
fn get_fullscreen_desc(&self) -> Result<SwapChainFullscreenDesc, HResult>
[src]
fn get_hwnd(&self) -> Result<HWND, HResult>
[src]
fn get_restrict_to_output(&self) -> Result<Output, HResult>
[src]
fn get_rotation(&self) -> Result<ModeRotation, HResult>
[src]
fn is_temporary_mono_supported(&self) -> bool
[src]
fn present1(
&self,
interval: u32,
flags: Option<Present>,
parameters: &PresentParameters
) -> Result<(), HResult>
[src]
&self,
interval: u32,
flags: Option<Present>,
parameters: &PresentParameters
) -> Result<(), HResult>
fn set_background_color(&self, rgba: RGBA) -> Result<(), HResult>
[src]
fn set_rotation(&self, rotation: ModeRotation) -> Result<(), HResult>
[src]
impl ISwapChain2 for SwapChain3
[src]
fn get_frame_latency_waitable_object(&self) -> HANDLE
[src]
fn get_matrix_transform(&self) -> Result<Matrix3x2f, HResult>
[src]
fn get_maximum_frame_latency(&self) -> Result<u32, HResult>
[src]
fn get_source_size(&self) -> Result<SourceSize, HResult>
[src]
fn set_matrix_transform(&self, m: Matrix3x2f) -> Result<(), HResult>
[src]
fn set_maximum_frame_latency(&self, latency: u32) -> Result<(), HResult>
[src]
fn set_source_size(&self, source_size: SourceSize) -> Result<(), HResult>
[src]
impl ISwapChain3 for SwapChain3
[src]
fn check_color_space_support(
&self,
color_space: ColorSpaceType
) -> Result<SwapChainColorSpaceSupportFlag, HResult>
[src]
&self,
color_space: ColorSpaceType
) -> Result<SwapChainColorSpaceSupportFlag, HResult>
fn get_current_back_buffer_index(&self) -> u32
[src]
fn resize_buffers1<T: Interface>(
&self,
buffer_count: u32,
width: u32,
height: u32,
format: Format,
flags: Option<SwapChainFlag>,
node_mask: Option<&[u32]>,
present_queue: &[T]
) -> Result<(), HResult>
[src]
&self,
buffer_count: u32,
width: u32,
height: u32,
format: Format,
flags: Option<SwapChainFlag>,
node_mask: Option<&[u32]>,
present_queue: &[T]
) -> Result<(), HResult>
fn set_color_space1(&self, color_space: ColorSpaceType) -> Result<(), HResult>
[src]
impl Interface for SwapChain3
[src]
type APIType = IDXGISwapChain3
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<SwapChain3> for SwapChain3
[src]
fn eq(&self, other: &SwapChain3) -> bool
[src]
fn ne(&self, other: &SwapChain3) -> bool
[src]
impl Send for SwapChain3
[src]
impl StructuralEq for SwapChain3
[src]
impl StructuralPartialEq for SwapChain3
[src]
impl Sync for SwapChain3
[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>,