Trait windows::Win32::Graphics::Direct3D10::ID3D10Effect_Impl
pub trait ID3D10Effect_Impl: Sized {
Show 13 methods
// Required methods
fn IsValid(&self) -> BOOL;
fn IsPool(&self) -> BOOL;
fn GetDevice(&self) -> Result<ID3D10Device>;
fn GetDesc(&self, pdesc: *mut D3D10_EFFECT_DESC) -> Result<()>;
fn GetConstantBufferByIndex(
&self,
index: u32,
) -> Option<ID3D10EffectConstantBuffer>;
fn GetConstantBufferByName(
&self,
name: &PCSTR,
) -> Option<ID3D10EffectConstantBuffer>;
fn GetVariableByIndex(&self, index: u32) -> Option<ID3D10EffectVariable>;
fn GetVariableByName(&self, name: &PCSTR) -> Option<ID3D10EffectVariable>;
fn GetVariableBySemantic(
&self,
semantic: &PCSTR,
) -> Option<ID3D10EffectVariable>;
fn GetTechniqueByIndex(&self, index: u32) -> Option<ID3D10EffectTechnique>;
fn GetTechniqueByName(&self, name: &PCSTR) -> Option<ID3D10EffectTechnique>;
fn Optimize(&self) -> Result<()>;
fn IsOptimized(&self) -> BOOL;
}
Required Methods§
fn IsValid(&self) -> BOOL
fn IsPool(&self) -> BOOL
fn GetDevice(&self) -> Result<ID3D10Device>
fn GetDesc(&self, pdesc: *mut D3D10_EFFECT_DESC) -> Result<()>
fn GetConstantBufferByIndex( &self, index: u32, ) -> Option<ID3D10EffectConstantBuffer>
fn GetConstantBufferByName( &self, name: &PCSTR, ) -> Option<ID3D10EffectConstantBuffer>
fn GetVariableByIndex(&self, index: u32) -> Option<ID3D10EffectVariable>
fn GetVariableByName(&self, name: &PCSTR) -> Option<ID3D10EffectVariable>
fn GetVariableBySemantic( &self, semantic: &PCSTR, ) -> Option<ID3D10EffectVariable>
fn GetTechniqueByIndex(&self, index: u32) -> Option<ID3D10EffectTechnique>
fn GetTechniqueByName(&self, name: &PCSTR) -> Option<ID3D10EffectTechnique>
fn Optimize(&self) -> Result<()>
fn IsOptimized(&self) -> BOOL
Object Safety§
This trait is not object safe.