Trait windows::Win32::Graphics::Dxgi::IDXGIOutput_Impl
pub trait IDXGIOutput_Impl: Sized + IDXGIObject_Impl {
// Required methods
fn GetDesc(&self) -> Result<DXGI_OUTPUT_DESC>;
fn GetDisplayModeList(
&self,
enumformat: DXGI_FORMAT,
flags: DXGI_ENUM_MODES,
pnummodes: *mut u32,
pdesc: *mut DXGI_MODE_DESC,
) -> Result<()>;
fn FindClosestMatchingMode(
&self,
pmodetomatch: *const DXGI_MODE_DESC,
pclosestmatch: *mut DXGI_MODE_DESC,
pconcerneddevice: Option<&IUnknown>,
) -> Result<()>;
fn WaitForVBlank(&self) -> Result<()>;
fn TakeOwnership(
&self,
pdevice: Option<&IUnknown>,
exclusive: BOOL,
) -> Result<()>;
fn ReleaseOwnership(&self);
fn GetGammaControlCapabilities(
&self,
pgammacaps: *mut DXGI_GAMMA_CONTROL_CAPABILITIES,
) -> Result<()>;
fn SetGammaControl(&self, parray: *const DXGI_GAMMA_CONTROL) -> Result<()>;
fn GetGammaControl(&self, parray: *mut DXGI_GAMMA_CONTROL) -> Result<()>;
fn SetDisplaySurface(
&self,
pscanoutsurface: Option<&IDXGISurface>,
) -> Result<()>;
fn GetDisplaySurfaceData(
&self,
pdestination: Option<&IDXGISurface>,
) -> Result<()>;
fn GetFrameStatistics(
&self,
pstats: *mut DXGI_FRAME_STATISTICS,
) -> Result<()>;
}
Required Methods§
fn GetDesc(&self) -> Result<DXGI_OUTPUT_DESC>
fn GetDisplayModeList( &self, enumformat: DXGI_FORMAT, flags: DXGI_ENUM_MODES, pnummodes: *mut u32, pdesc: *mut DXGI_MODE_DESC, ) -> Result<()>
fn FindClosestMatchingMode( &self, pmodetomatch: *const DXGI_MODE_DESC, pclosestmatch: *mut DXGI_MODE_DESC, pconcerneddevice: Option<&IUnknown>, ) -> Result<()>
fn WaitForVBlank(&self) -> Result<()>
fn TakeOwnership( &self, pdevice: Option<&IUnknown>, exclusive: BOOL, ) -> Result<()>
fn ReleaseOwnership(&self)
fn GetGammaControlCapabilities( &self, pgammacaps: *mut DXGI_GAMMA_CONTROL_CAPABILITIES, ) -> Result<()>
fn SetGammaControl(&self, parray: *const DXGI_GAMMA_CONTROL) -> Result<()>
fn GetGammaControl(&self, parray: *mut DXGI_GAMMA_CONTROL) -> Result<()>
fn SetDisplaySurface( &self, pscanoutsurface: Option<&IDXGISurface>, ) -> Result<()>
fn GetDisplaySurfaceData( &self, pdestination: Option<&IDXGISurface>, ) -> Result<()>
fn GetFrameStatistics(&self, pstats: *mut DXGI_FRAME_STATISTICS) -> Result<()>
Object Safety§
This trait is not object safe.