pub trait ID3D10EffectPass_Impl: Sized {
    // Required methods
    fn IsValid(&self) -> BOOL;
    fn GetDesc(&self, pdesc: *mut D3D10_PASS_DESC) -> Result<()>;
    fn GetVertexShaderDesc(
        &self,
        pdesc: *mut D3D10_PASS_SHADER_DESC,
    ) -> Result<()>;
    fn GetGeometryShaderDesc(
        &self,
        pdesc: *mut D3D10_PASS_SHADER_DESC,
    ) -> Result<()>;
    fn GetPixelShaderDesc(
        &self,
        pdesc: *mut D3D10_PASS_SHADER_DESC,
    ) -> Result<()>;
    fn GetAnnotationByIndex(&self, index: u32) -> Option<ID3D10EffectVariable>;
    fn GetAnnotationByName(&self, name: &PCSTR) -> Option<ID3D10EffectVariable>;
    fn Apply(&self, flags: u32) -> Result<()>;
    fn ComputeStateBlockMask(
        &self,
        pstateblockmask: *mut D3D10_STATE_BLOCK_MASK,
    ) -> Result<()>;
}

Required Methods§

fn IsValid(&self) -> BOOL

fn GetDesc(&self, pdesc: *mut D3D10_PASS_DESC) -> Result<()>

fn GetVertexShaderDesc(&self, pdesc: *mut D3D10_PASS_SHADER_DESC) -> Result<()>

fn GetGeometryShaderDesc( &self, pdesc: *mut D3D10_PASS_SHADER_DESC, ) -> Result<()>

fn GetPixelShaderDesc(&self, pdesc: *mut D3D10_PASS_SHADER_DESC) -> Result<()>

fn GetAnnotationByIndex(&self, index: u32) -> Option<ID3D10EffectVariable>

fn GetAnnotationByName(&self, name: &PCSTR) -> Option<ID3D10EffectVariable>

fn Apply(&self, flags: u32) -> Result<()>

fn ComputeStateBlockMask( &self, pstateblockmask: *mut D3D10_STATE_BLOCK_MASK, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§