Trait windows::Win32::Graphics::Direct3D11::ID3D11Debug_Impl

pub trait ID3D11Debug_Impl: Sized {
    // Required methods
    fn SetFeatureMask(&self, mask: u32) -> Result<()>;
    fn GetFeatureMask(&self) -> u32;
    fn SetPresentPerRenderOpDelay(&self, milliseconds: u32) -> Result<()>;
    fn GetPresentPerRenderOpDelay(&self) -> u32;
    fn SetSwapChain(&self, pswapchain: Option<&IDXGISwapChain>) -> Result<()>;
    fn GetSwapChain(&self) -> Result<IDXGISwapChain>;
    fn ValidateContext(
        &self,
        pcontext: Option<&ID3D11DeviceContext>,
    ) -> Result<()>;
    fn ReportLiveDeviceObjects(&self, flags: D3D11_RLDO_FLAGS) -> Result<()>;
    fn ValidateContextForDispatch(
        &self,
        pcontext: Option<&ID3D11DeviceContext>,
    ) -> Result<()>;
}

Required Methods§

fn SetFeatureMask(&self, mask: u32) -> Result<()>

fn GetFeatureMask(&self) -> u32

fn SetPresentPerRenderOpDelay(&self, milliseconds: u32) -> Result<()>

fn GetPresentPerRenderOpDelay(&self) -> u32

fn SetSwapChain(&self, pswapchain: Option<&IDXGISwapChain>) -> Result<()>

fn GetSwapChain(&self) -> Result<IDXGISwapChain>

fn ValidateContext(&self, pcontext: Option<&ID3D11DeviceContext>) -> Result<()>

fn ReportLiveDeviceObjects(&self, flags: D3D11_RLDO_FLAGS) -> Result<()>

fn ValidateContextForDispatch( &self, pcontext: Option<&ID3D11DeviceContext>, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§