Trait winsafe::prelude::dxgi_IDXGIResource

source ·
pub trait dxgi_IDXGIResource: dxgi_IDXGIDeviceSubObject {
    // Provided methods
    fn GetEvictionPriority(&self) -> HrResult<DXGI_RESOURCE_PRIORITY> { ... }
    fn GetSharedHandle(&self) -> HrResult<*mut c_void> { ... }
    fn GetUsage(&self) -> HrResult<DXGI_USAGE> { ... }
    fn SetEvictionPriority(
        &self,
        eviction_priority: DXGI_RESOURCE_PRIORITY
    ) -> HrResult<()> { ... }
}
Available on crate features kernel and dxgi only.
Expand description

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

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

Object Safety§

This trait is not object safe.

Implementors§