Share via


noise Function

Generates a random value using the Perlin noise algorithm

inline float noise(
   float _X
) restrict(amp);

Parameters

  • _X
    Floating-point value from which to generate Perlin noise

Return Value

Returns The Perlin noise value within a range between -1 and 1

Requirements

Header: amp.h

Namespace: Concurrency::direct3d

See Also

Reference

Concurrency::direct3d Namespace