Trait winsafe::prelude::dxgi_IDXGISurface

source ·
pub trait dxgi_IDXGISurface: dxgi_IDXGIDeviceSubObject {
    // Provided methods
    fn GetDesc(&self) -> HrResult<DXGI_SURFACE_DESC> { ... }
    fn Map(&self, map_flags: DXGI_MAP) -> HrResult<DXGI_MAPPED_RECT> { ... }
    fn Unmap(&self) -> HrResult<()> { ... }
}
Available on crate features kernel and dxgi only.
Expand description

This trait is enabled with the dxgi feature, and provides methods for IDXGISurface.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§