Functions

Wrapping mode of texture coordinates. More...

Collaboration diagram for GLM_GTX_wrap:

Functions

template<typename genType >
GLM_FUNC_DECL genType glm::clamp (genType const &Texcoord)
 
template<typename genType >
GLM_FUNC_DECL genType glm::mirrorRepeat (genType const &Texcoord)
 
template<typename genType >
GLM_FUNC_DECL genType glm::repeat (genType const &Texcoord)
 

Detailed Description

Wrapping mode of texture coordinates.

<glm/gtx/wrap.hpp> need to be included to use these functionalities.

Function Documentation

◆ clamp()

template<typename genType >
GLM_FUNC_DECL genType glm::clamp ( genType const &  Texcoord)

Simulate GL_CLAMP OpenGL wrap mode

See also
GLM_GTX_wrap extension.

◆ mirrorRepeat()

template<typename genType >
GLM_FUNC_DECL genType glm::mirrorRepeat ( genType const &  Texcoord)

Simulate GL_MIRROR_REPEAT OpenGL wrap mode

See also
GLM_GTX_wrap extension.

◆ repeat()

template<typename genType >
GLM_FUNC_DECL genType glm::repeat ( genType const &  Texcoord)

Simulate GL_REPEAT OpenGL wrap mode

See also
GLM_GTX_wrap extension.


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Jan 23 2023 03:38:59