Module simdnoise::avx2 [−][src]
AVX2 and FMA3 Accelerated noise functions. CPUs since ~2013 (Intel) and ~2015 (AMD) support this. It is about twice as fast as the SSE2 version.
Use is_x86_feature_detected!("avx2")
provided
by the Rust stanard library to detect at runtime.
When using the get_
functions, you will get a performance boost when width
is evenly divisble by 8, and when it is not small relative height and depth.
Functions
fbm_2d⚠ |
[avx2 Get a single value of 2d fractal brownian motion. See FractalSettings for more details. |
fbm_3d⚠ |
[avx2 Get a single value of 3d fractal brownian motion. See FractalSettings for more details. |
get_2d_noise⚠ |
[avx2 Gets a width X height sized block of 2d noise, unscaled.
|
get_2d_scaled_noise⚠ |
[avx2 Gets a width X height sized block of scaled 2d noise
|
get_3d_noise⚠ |
[avx2 Gets a width X height X depth sized block of 3d noise, unscaled,
|
get_3d_scaled_noise⚠ |
[avx2 Gets a width X height X depth sized block of scaled 3d noise
|
simplex_2d⚠ |
[avx2 Get a single value of 2d simplex noise, results are not scaled. |
simplex_3d⚠ |
[avx2 Get a single value of 3d simplex noise, results are not scaled. |
turbulence_2d⚠ |
[avx2 Get a single value of 2d turbulence. See FractalSettings for more details. |
turbulence_3d⚠ |
[avx2 Get a single value of 3d turbulence. See FractalSettings for more details. |