Trait windows::Win32::Graphics::Dxgi::IDXGISurface_Impl

pub trait IDXGISurface_Impl: Sized + IDXGIDeviceSubObject_Impl {
    // Required methods
    fn GetDesc(&self) -> Result<DXGI_SURFACE_DESC>;
    fn Map(
        &self,
        plockedrect: *mut DXGI_MAPPED_RECT,
        mapflags: DXGI_MAP_FLAGS,
    ) -> Result<()>;
    fn Unmap(&self) -> Result<()>;
}

Required Methods§

fn GetDesc(&self) -> Result<DXGI_SURFACE_DESC>

fn Map( &self, plockedrect: *mut DXGI_MAPPED_RECT, mapflags: DXGI_MAP_FLAGS, ) -> Result<()>

fn Unmap(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§