diff --git a/src/Magnum/Shaders/Flat.h b/src/Magnum/Shaders/Flat.h index 2973a4e8f..225388322 100644 --- a/src/Magnum/Shaders/Flat.h +++ b/src/Magnum/Shaders/Flat.h @@ -463,6 +463,10 @@ template class MAGNUM_SHADERS_EXPORT Flat: public GL::Ab * enabled. Fragments with alpha values smaller than the mask value * will be discarded. Initial value is @cpp 0.5f @ce. See the flag * documentation for further information. + * + * This corresponds to @m_class{m-doc-external} [glAlphaFunc()](https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glAlphaFunc.xml) + * in classic OpenGL. + * @m_keywords{glAlphaFunc()} */ Flat& setAlphaMask(Float mask); diff --git a/src/Magnum/Shaders/Phong.h b/src/Magnum/Shaders/Phong.h index f0501a6c7..88991e033 100644 --- a/src/Magnum/Shaders/Phong.h +++ b/src/Magnum/Shaders/Phong.h @@ -741,6 +741,10 @@ class MAGNUM_SHADERS_EXPORT Phong: public GL::AbstractShaderProgram { * enabled. Fragments with alpha values smaller than the mask value * will be discarded. Initial value is @cpp 0.5f @ce. See the flag * documentation for further information. + * + * This corresponds to @m_class{m-doc-external} [glAlphaFunc()](https://www.khronos.org/registry/OpenGL-Refpages/gl2.1/xhtml/glAlphaFunc.xml) + * in classic OpenGL. + * @m_keywords{glAlphaFunc()} */ Phong& setAlphaMask(Float mask);