pub trait ID3D11ModuleInstance_Impl: Sized {
    // Required methods
    fn BindConstantBuffer(
        &self,
        usrcslot: u32,
        udstslot: u32,
        cbdstoffset: u32,
    ) -> Result<()>;
    fn BindConstantBufferByName(
        &self,
        pname: &PCSTR,
        udstslot: u32,
        cbdstoffset: u32,
    ) -> Result<()>;
    fn BindResource(
        &self,
        usrcslot: u32,
        udstslot: u32,
        ucount: u32,
    ) -> Result<()>;
    fn BindResourceByName(
        &self,
        pname: &PCSTR,
        udstslot: u32,
        ucount: u32,
    ) -> Result<()>;
    fn BindSampler(
        &self,
        usrcslot: u32,
        udstslot: u32,
        ucount: u32,
    ) -> Result<()>;
    fn BindSamplerByName(
        &self,
        pname: &PCSTR,
        udstslot: u32,
        ucount: u32,
    ) -> Result<()>;
    fn BindUnorderedAccessView(
        &self,
        usrcslot: u32,
        udstslot: u32,
        ucount: u32,
    ) -> Result<()>;
    fn BindUnorderedAccessViewByName(
        &self,
        pname: &PCSTR,
        udstslot: u32,
        ucount: u32,
    ) -> Result<()>;
    fn BindResourceAsUnorderedAccessView(
        &self,
        usrcsrvslot: u32,
        udstuavslot: u32,
        ucount: u32,
    ) -> Result<()>;
    fn BindResourceAsUnorderedAccessViewByName(
        &self,
        psrvname: &PCSTR,
        udstuavslot: u32,
        ucount: u32,
    ) -> Result<()>;
}

Required Methods§

fn BindConstantBuffer( &self, usrcslot: u32, udstslot: u32, cbdstoffset: u32, ) -> Result<()>

fn BindConstantBufferByName( &self, pname: &PCSTR, udstslot: u32, cbdstoffset: u32, ) -> Result<()>

fn BindResource(&self, usrcslot: u32, udstslot: u32, ucount: u32) -> Result<()>

fn BindResourceByName( &self, pname: &PCSTR, udstslot: u32, ucount: u32, ) -> Result<()>

fn BindSampler(&self, usrcslot: u32, udstslot: u32, ucount: u32) -> Result<()>

fn BindSamplerByName( &self, pname: &PCSTR, udstslot: u32, ucount: u32, ) -> Result<()>

fn BindUnorderedAccessView( &self, usrcslot: u32, udstslot: u32, ucount: u32, ) -> Result<()>

fn BindUnorderedAccessViewByName( &self, pname: &PCSTR, udstslot: u32, ucount: u32, ) -> Result<()>

fn BindResourceAsUnorderedAccessView( &self, usrcsrvslot: u32, udstuavslot: u32, ucount: u32, ) -> Result<()>

fn BindResourceAsUnorderedAccessViewByName( &self, psrvname: &PCSTR, udstuavslot: u32, ucount: u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§