#[repr(C)]pub struct IPLDeviationModel {
pub type_: IPLDeviationModelType,
pub callback: IPLDeviationCallback,
pub userData: *mut c_void,
}Expand description
A deviation model that can be used for modeling frequency-dependent attenuation of sound as it bends along the path from the source to the listener.
Fields§
§type_: IPLDeviationModelTypeThe type of deviation model to use.
callback: IPLDeviationCallbackWhen \c type is \c IPL_DEVIATIONTYPE_CALLBACK, this function will be called whenever Steam Audio needs to evaluate deviation-based attenuation.
userData: *mut c_voidPointer to arbitrary data that will be provided to the \c callback function whenever it is called. May be \c NULL.
Trait Implementations§
Source§impl Clone for IPLDeviationModel
impl Clone for IPLDeviationModel
Source§fn clone(&self) -> IPLDeviationModel
fn clone(&self) -> IPLDeviationModel
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for IPLDeviationModel
impl Debug for IPLDeviationModel
impl Copy for IPLDeviationModel
Auto Trait Implementations§
impl Freeze for IPLDeviationModel
impl RefUnwindSafe for IPLDeviationModel
impl !Send for IPLDeviationModel
impl !Sync for IPLDeviationModel
impl Unpin for IPLDeviationModel
impl UnwindSafe for IPLDeviationModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more