Functions
GLM_GTX_gradient_paint

Functions that return the color of procedural gradient for specific coordinates. <glm/gtx/gradient_paint.hpp> need to be included to use these functionalities. More...

Collaboration diagram for GLM_GTX_gradient_paint:

Functions

template<typename T , precision P>
GLM_FUNC_DECLglm::linearGradient (detail::tvec2< T, P > const &Point0, detail::tvec2< T, P > const &Point1, detail::tvec2< T, P > const &Position)
 
template<typename T , precision P>
GLM_FUNC_DECLglm::radialGradient (detail::tvec2< T, P > const &Center, T const &Radius, detail::tvec2< T, P > const &Focal, detail::tvec2< T, P > const &Position)
 

Detailed Description

Functions that return the color of procedural gradient for specific coordinates. <glm/gtx/gradient_paint.hpp> need to be included to use these functionalities.

Function Documentation

template<typename T , precision P>
GLM_FUNC_DECL T glm::linearGradient ( detail::tvec2< T, P > const &  Point0,
detail::tvec2< T, P > const &  Point1,
detail::tvec2< T, P > const &  Position 
)

Return a color from a linear gradient.

See also
- GLM_GTX_gradient_paint
template<typename T , precision P>
GLM_FUNC_DECL T glm::radialGradient ( detail::tvec2< T, P > const &  Center,
T const &  Radius,
detail::tvec2< T, P > const &  Focal,
detail::tvec2< T, P > const &  Position 
)

Return a color from a radial gradient.

See also
- GLM_GTX_gradient_paint


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:37:08