pub trait ID3D10EffectShaderResourceVariable_Impl: Sized + ID3D10EffectVariable_Impl {
// Required methods
fn SetResource(
&self,
presource: Option<&ID3D10ShaderResourceView>,
) -> Result<()>;
fn GetResource(&self) -> Result<ID3D10ShaderResourceView>;
fn SetResourceArray(
&self,
ppresources: *const Option<ID3D10ShaderResourceView>,
offset: u32,
count: u32,
) -> Result<()>;
fn GetResourceArray(
&self,
ppresources: *mut Option<ID3D10ShaderResourceView>,
offset: u32,
count: u32,
) -> Result<()>;
}
Required Methods§
fn SetResource( &self, presource: Option<&ID3D10ShaderResourceView>, ) -> Result<()>
fn GetResource(&self) -> Result<ID3D10ShaderResourceView>
fn SetResourceArray( &self, ppresources: *const Option<ID3D10ShaderResourceView>, offset: u32, count: u32, ) -> Result<()>
fn GetResourceArray( &self, ppresources: *mut Option<ID3D10ShaderResourceView>, offset: u32, count: u32, ) -> Result<()>
Object Safety§
This trait is not object safe.