pub trait ID3D10EffectScalarVariable_Impl: Sized + ID3D10EffectVariable_Impl {
    // Required methods
    fn SetFloat(&self, value: f32) -> Result<()>;
    fn GetFloat(&self) -> Result<f32>;
    fn SetFloatArray(
        &self,
        pdata: *const f32,
        offset: u32,
        count: u32
    ) -> Result<()>;
    fn GetFloatArray(
        &self,
        pdata: *mut f32,
        offset: u32,
        count: u32
    ) -> Result<()>;
    fn SetInt(&self, value: i32) -> Result<()>;
    fn GetInt(&self) -> Result<i32>;
    fn SetIntArray(
        &self,
        pdata: *const i32,
        offset: u32,
        count: u32
    ) -> Result<()>;
    fn GetIntArray(
        &self,
        pdata: *mut i32,
        offset: u32,
        count: u32
    ) -> Result<()>;
    fn SetBool(&self, value: BOOL) -> Result<()>;
    fn GetBool(&self) -> Result<BOOL>;
    fn SetBoolArray(
        &self,
        pdata: *const BOOL,
        offset: u32,
        count: u32
    ) -> Result<()>;
    fn GetBoolArray(
        &self,
        pdata: *mut BOOL,
        offset: u32,
        count: u32
    ) -> Result<()>;
}

Required Methods§

fn SetFloat(&self, value: f32) -> Result<()>

fn GetFloat(&self) -> Result<f32>

fn SetFloatArray( &self, pdata: *const f32, offset: u32, count: u32 ) -> Result<()>

fn GetFloatArray(&self, pdata: *mut f32, offset: u32, count: u32) -> Result<()>

fn SetInt(&self, value: i32) -> Result<()>

fn GetInt(&self) -> Result<i32>

fn SetIntArray(&self, pdata: *const i32, offset: u32, count: u32) -> Result<()>

fn GetIntArray(&self, pdata: *mut i32, offset: u32, count: u32) -> Result<()>

fn SetBool(&self, value: BOOL) -> Result<()>

fn GetBool(&self) -> Result<BOOL>

fn SetBoolArray( &self, pdata: *const BOOL, offset: u32, count: u32 ) -> Result<()>

fn GetBoolArray(&self, pdata: *mut BOOL, offset: u32, count: u32) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§