Functions
GLM_GTX_wrap: Texture coordinate wrap modes
GTX Extensions (Experimental)

Wrapping mode of texture coordinates. More...

Functions

template<typename genType >
genType clamp (genType const &Texcoord)
template<typename genType >
genType mirrorRepeat (genType const &Texcoord)
template<typename genType >
genType 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

genType glm::gtx::wrap::clamp ( genType const &  Texcoord)

Simulate GL_CLAMP OpenGL wrap mode From GLM_GTX_wrap extension.

genType glm::gtx::wrap::mirrorRepeat ( genType const &  Texcoord)

Simulate GL_MIRROR_REPEAT OpenGL wrap mode From GLM_GTX_wrap extension.

genType glm::gtx::wrap::repeat ( genType const &  Texcoord)

Simulate GL_REPEAT OpenGL wrap mode From GLM_GTX_wrap extension.