Trait windows::Win32::Graphics::Dxgi::IDXGISwapChain1_Impl
pub trait IDXGISwapChain1_Impl: Sized + IDXGISwapChain_Impl {
// Required methods
fn GetDesc1(&self) -> Result<DXGI_SWAP_CHAIN_DESC1>;
fn GetFullscreenDesc(&self) -> Result<DXGI_SWAP_CHAIN_FULLSCREEN_DESC>;
fn GetHwnd(&self) -> Result<HWND>;
fn GetCoreWindow(
&self,
refiid: *const GUID,
ppunk: *mut *mut c_void,
) -> Result<()>;
fn Present1(
&self,
syncinterval: u32,
presentflags: DXGI_PRESENT,
ppresentparameters: *const DXGI_PRESENT_PARAMETERS,
) -> HRESULT;
fn IsTemporaryMonoSupported(&self) -> BOOL;
fn GetRestrictToOutput(&self) -> Result<IDXGIOutput>;
fn SetBackgroundColor(&self, pcolor: *const DXGI_RGBA) -> Result<()>;
fn GetBackgroundColor(&self) -> Result<DXGI_RGBA>;
fn SetRotation(&self, rotation: DXGI_MODE_ROTATION) -> Result<()>;
fn GetRotation(&self) -> Result<DXGI_MODE_ROTATION>;
}
Required Methods§
fn GetDesc1(&self) -> Result<DXGI_SWAP_CHAIN_DESC1>
fn GetFullscreenDesc(&self) -> Result<DXGI_SWAP_CHAIN_FULLSCREEN_DESC>
fn GetHwnd(&self) -> Result<HWND>
fn GetCoreWindow( &self, refiid: *const GUID, ppunk: *mut *mut c_void, ) -> Result<()>
fn Present1( &self, syncinterval: u32, presentflags: DXGI_PRESENT, ppresentparameters: *const DXGI_PRESENT_PARAMETERS, ) -> HRESULT
fn IsTemporaryMonoSupported(&self) -> BOOL
fn GetRestrictToOutput(&self) -> Result<IDXGIOutput>
fn SetBackgroundColor(&self, pcolor: *const DXGI_RGBA) -> Result<()>
fn GetBackgroundColor(&self) -> Result<DXGI_RGBA>
fn SetRotation(&self, rotation: DXGI_MODE_ROTATION) -> Result<()>
fn GetRotation(&self) -> Result<DXGI_MODE_ROTATION>
Object Safety§
This trait is not object safe.