pub struct Multi {}Expand description
Combines noise by multiplying subsequent octaves together.
Trait Implementations§
Source§impl Combiner for Multi
impl Combiner for Multi
Source§const WEIGHT_DECAY: bool = false
const WEIGHT_DECAY: bool = false
Determines whether or not octave weight parameters are ignored.
If this is set to false, every octave has a weight of
1.0.
If this is set to true, every subsequent octave’s weight is multiplied by persistence.Source§type State<A: Arch> = [Simd<f32, A>; 0]
type State<A: Arch> = [Simd<f32, A>; 0]
The type used for expressing State. The type
[ArchSimd<f32>; N] can be used,
where N is the number of variables tracked across samples. N does not include
the running result. The type alias FractalArray<N> can also be used. Read moreSource§type Config = ()
type Config = ()
The config struct that is passed through noise calls to the Fractal’s usage.
This is used for storing new parameters specific to a custom Fractal type.
Source§fn apply_sample<A: Arch>(
_config: &(),
state: Self::State<A>,
cur_result: Simd<f32, A>,
new_sample: Simd<f32, A>,
) -> (Self::State<A>, Simd<f32, A>)
fn apply_sample<A: Arch>( _config: &(), state: Self::State<A>, cur_result: Simd<f32, A>, new_sample: Simd<f32, A>, ) -> (Self::State<A>, Simd<f32, A>)
Determines how new noise samples are combined with previous samples. Read more
impl Copy for Multi
impl StructuralPartialEq for Multi
Auto Trait Implementations§
impl Freeze for Multi
impl RefUnwindSafe for Multi
impl Send for Multi
impl Sync for Multi
impl Unpin for Multi
impl UnsafeUnpin for Multi
impl UnwindSafe for Multi
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