Trait windows::Win32::Graphics::Dxgi::IDXGIDecodeSwapChain_Impl

pub trait IDXGIDecodeSwapChain_Impl: Sized {
    // Required methods
    fn PresentBuffer(
        &self,
        buffertopresent: u32,
        syncinterval: u32,
        flags: DXGI_PRESENT,
    ) -> HRESULT;
    fn SetSourceRect(&self, prect: *const RECT) -> Result<()>;
    fn SetTargetRect(&self, prect: *const RECT) -> Result<()>;
    fn SetDestSize(&self, width: u32, height: u32) -> Result<()>;
    fn GetSourceRect(&self) -> Result<RECT>;
    fn GetTargetRect(&self) -> Result<RECT>;
    fn GetDestSize(&self, pwidth: *mut u32, pheight: *mut u32) -> Result<()>;
    fn SetColorSpace(
        &self,
        colorspace: DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS,
    ) -> Result<()>;
    fn GetColorSpace(&self) -> DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS;
}

Required Methods§

fn PresentBuffer( &self, buffertopresent: u32, syncinterval: u32, flags: DXGI_PRESENT, ) -> HRESULT

fn SetSourceRect(&self, prect: *const RECT) -> Result<()>

fn SetTargetRect(&self, prect: *const RECT) -> Result<()>

fn SetDestSize(&self, width: u32, height: u32) -> Result<()>

fn GetSourceRect(&self) -> Result<RECT>

fn GetTargetRect(&self) -> Result<RECT>

fn GetDestSize(&self, pwidth: *mut u32, pheight: *mut u32) -> Result<()>

fn SetColorSpace( &self, colorspace: DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS, ) -> Result<()>

fn GetColorSpace(&self) -> DXGI_MULTIPLANE_OVERLAY_YCbCr_FLAGS

Object Safety§

This trait is not object safe.

Implementors§