Functions
Noise functions

Functions

template<typename genType >
GLM_FUNC_DECL genType::value_type glm::noise1 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL detail::tvec2< typename genType::value_type, defaultpglm::noise2 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL detail::tvec3< typename genType::value_type, defaultpglm::noise3 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL detail::tvec4< typename genType::value_type, defaultpglm::noise4 (genType const &x)
 

Detailed Description

Noise functions are stochastic functions that can be used to increase visual complexity. Values returned by the following noise functions give the appearance of randomness, but are not truly random.

Function Documentation

◆ noise1()

template<typename genType >
GLM_FUNC_DECL genType::value_type glm::noise1 ( genType const &  x)

Returns a 1D noise value based on the input value x.

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLSL noise1 man page
GLSL 4.20.8 specification, section 8.13 Noise Functions

◆ noise2()

template<typename genType >
GLM_FUNC_DECL detail::tvec2<typename genType::value_type, defaultp> glm::noise2 ( genType const &  x)

Returns a 2D noise value based on the input value x.

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLSL noise2 man page
GLSL 4.20.8 specification, section 8.13 Noise Functions

◆ noise3()

template<typename genType >
GLM_FUNC_DECL detail::tvec3<typename genType::value_type, defaultp> glm::noise3 ( genType const &  x)

Returns a 3D noise value based on the input value x.

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLSL noise3 man page
GLSL 4.20.8 specification, section 8.13 Noise Functions

◆ noise4()

template<typename genType >
GLM_FUNC_DECL detail::tvec4<typename genType::value_type, defaultp> glm::noise4 ( genType const &  x)

Returns a 4D noise value based on the input value x.

Template Parameters
genTypeFloating-point scalar or vector types.
See also
GLSL noise4 man page
GLSL 4.20.8 specification, section 8.13 Noise Functions


rtabmap
Author(s): Mathieu Labbe
autogenerated on Thu Jul 25 2024 02:50:26