windows::Win32::Graphics::Direct3D10

Trait ID3D10Device1_Impl

pub trait ID3D10Device1_Impl: ID3D10Device_Impl {
    // Required methods
    fn CreateShaderResourceView1(
        &self,
        presource: Ref<'_, ID3D10Resource>,
        pdesc: *const D3D10_SHADER_RESOURCE_VIEW_DESC1,
        ppsrview: OutRef<'_, ID3D10ShaderResourceView1>,
    ) -> Result<()>;
    fn CreateBlendState1(
        &self,
        pblendstatedesc: *const D3D10_BLEND_DESC1,
        ppblendstate: OutRef<'_, ID3D10BlendState1>,
    ) -> Result<()>;
    fn GetFeatureLevel(&self) -> D3D10_FEATURE_LEVEL1;
}

Required Methods§

fn CreateShaderResourceView1( &self, presource: Ref<'_, ID3D10Resource>, pdesc: *const D3D10_SHADER_RESOURCE_VIEW_DESC1, ppsrview: OutRef<'_, ID3D10ShaderResourceView1>, ) -> Result<()>

fn CreateBlendState1( &self, pblendstatedesc: *const D3D10_BLEND_DESC1, ppblendstate: OutRef<'_, ID3D10BlendState1>, ) -> Result<()>

fn GetFeatureLevel(&self) -> D3D10_FEATURE_LEVEL1

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§