Trait windows::Win32::Graphics::Dxgi::IDXGIResource_Impl

pub trait IDXGIResource_Impl: Sized + IDXGIDeviceSubObject_Impl {
    // Required methods
    fn GetSharedHandle(&self) -> Result<HANDLE>;
    fn GetUsage(&self) -> Result<DXGI_USAGE>;
    fn SetEvictionPriority(
        &self,
        evictionpriority: DXGI_RESOURCE_PRIORITY,
    ) -> Result<()>;
    fn GetEvictionPriority(&self) -> Result<DXGI_RESOURCE_PRIORITY>;
}

Required Methods§

fn GetSharedHandle(&self) -> Result<HANDLE>

fn GetUsage(&self) -> Result<DXGI_USAGE>

fn SetEvictionPriority( &self, evictionpriority: DXGI_RESOURCE_PRIORITY, ) -> Result<()>

fn GetEvictionPriority(&self) -> Result<DXGI_RESOURCE_PRIORITY>

Object Safety§

This trait is not object safe.

Implementors§