pub trait ID3D10EffectVariable_Impl: Sized {
Show 25 methods // Required methods fn IsValid(&self) -> BOOL; fn GetType(&self) -> Option<ID3D10EffectType>; fn GetDesc(&self, pdesc: *mut D3D10_EFFECT_VARIABLE_DESC) -> Result<()>; fn GetAnnotationByIndex(&self, index: u32) -> Option<ID3D10EffectVariable>; fn GetAnnotationByName(&self, name: &PCSTR) -> Option<ID3D10EffectVariable>; fn GetMemberByIndex(&self, index: u32) -> Option<ID3D10EffectVariable>; fn GetMemberByName(&self, name: &PCSTR) -> Option<ID3D10EffectVariable>; fn GetMemberBySemantic( &self, semantic: &PCSTR, ) -> Option<ID3D10EffectVariable>; fn GetElement(&self, index: u32) -> Option<ID3D10EffectVariable>; fn GetParentConstantBuffer(&self) -> Option<ID3D10EffectConstantBuffer>; fn AsScalar(&self) -> Option<ID3D10EffectScalarVariable>; fn AsVector(&self) -> Option<ID3D10EffectVectorVariable>; fn AsMatrix(&self) -> Option<ID3D10EffectMatrixVariable>; fn AsString(&self) -> Option<ID3D10EffectStringVariable>; fn AsShaderResource(&self) -> Option<ID3D10EffectShaderResourceVariable>; fn AsRenderTargetView(&self) -> Option<ID3D10EffectRenderTargetViewVariable>; fn AsDepthStencilView(&self) -> Option<ID3D10EffectDepthStencilViewVariable>; fn AsConstantBuffer(&self) -> Option<ID3D10EffectConstantBuffer>; fn AsShader(&self) -> Option<ID3D10EffectShaderVariable>; fn AsBlend(&self) -> Option<ID3D10EffectBlendVariable>; fn AsDepthStencil(&self) -> Option<ID3D10EffectDepthStencilVariable>; fn AsRasterizer(&self) -> Option<ID3D10EffectRasterizerVariable>; fn AsSampler(&self) -> Option<ID3D10EffectSamplerVariable>; fn SetRawValue( &self, pdata: *const c_void, offset: u32, bytecount: u32, ) -> Result<()>; fn GetRawValue( &self, pdata: *mut c_void, offset: u32, bytecount: u32, ) -> Result<()>;
}

Required Methods§

fn IsValid(&self) -> BOOL

fn GetType(&self) -> Option<ID3D10EffectType>

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

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

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

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

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

fn GetMemberBySemantic(&self, semantic: &PCSTR) -> Option<ID3D10EffectVariable>

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

fn GetParentConstantBuffer(&self) -> Option<ID3D10EffectConstantBuffer>

fn AsScalar(&self) -> Option<ID3D10EffectScalarVariable>

fn AsVector(&self) -> Option<ID3D10EffectVectorVariable>

fn AsMatrix(&self) -> Option<ID3D10EffectMatrixVariable>

fn AsString(&self) -> Option<ID3D10EffectStringVariable>

fn AsShaderResource(&self) -> Option<ID3D10EffectShaderResourceVariable>

fn AsRenderTargetView(&self) -> Option<ID3D10EffectRenderTargetViewVariable>

fn AsDepthStencilView(&self) -> Option<ID3D10EffectDepthStencilViewVariable>

fn AsConstantBuffer(&self) -> Option<ID3D10EffectConstantBuffer>

fn AsShader(&self) -> Option<ID3D10EffectShaderVariable>

fn AsBlend(&self) -> Option<ID3D10EffectBlendVariable>

fn AsDepthStencil(&self) -> Option<ID3D10EffectDepthStencilVariable>

fn AsRasterizer(&self) -> Option<ID3D10EffectRasterizerVariable>

fn AsSampler(&self) -> Option<ID3D10EffectSamplerVariable>

fn SetRawValue( &self, pdata: *const c_void, offset: u32, bytecount: u32, ) -> Result<()>

fn GetRawValue( &self, pdata: *mut c_void, offset: u32, bytecount: u32, ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§