Skip to main content

Crate noise_functions_config

Crate noise_functions_config 

Source
Expand description

Configurable noise generator struct for the noise-functions crate.

Every enum of this crate implements FromStr, to_str and has a VARIANTS constant.

§Feature flags

  • std (enabled by default) — Uses floating point functions from the standard library.

  • libm — Uses libm for floating point functions. Required for no_std.

  • nightly-simd — Adds support for sampling with simd types. Some of the noise algorithms have optimized implementations for simd that can be faster than the scalar versions. Currently those are the 2d and 3d implementations of Perlin, Cell* and Value* noises.

    Breaking changes to this feature may happen in minor releases to keep up with changes on the nightly channel!

Re-exports§

pub use noise_functions;

Structs§

Config

Enums§

Improve
Modifier
Noise