From e8a715f54dc84633175f3dc8c8d27a1c51e4205b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 12 Aug 2019 22:09:12 +0200 Subject: [PATCH] doc: pretty pictures for the Shaders namespace overview. --- doc/namespaces.dox | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/doc/namespaces.dox b/doc/namespaces.dox index 44bb5c21b4..13309d812c 100644 --- a/doc/namespaces.dox +++ b/doc/namespaces.dox @@ -447,6 +447,49 @@ target_link_libraries(your-app Magnum::Shaders) @endcode See @ref building, @ref cmake and @ref shaders for more information. + +@m_class{m-row} + +@parblock + +@m_div{m-col-m-3 m-col-t-6 m-text-center m-nopadt m-nopadx} +@image html shaders-flat.png +@ref Flat @m_class{m-label m-success} **2D** @m_class{m-label m-primary} **3D** +@m_enddiv + +@m_div{m-col-m-3 m-col-t-6 m-text-center m-nopadt m-nopadx} +@image html shaders-phong.png +@ref Phong @m_class{m-label m-primary} **3D** +@m_enddiv + +@m_div{m-col-m-3 m-col-t-6 m-text-center m-nopadt m-nopadx} +@image html shaders-vertexcolor.png +@ref VertexColor @m_class{m-label m-success} **2D** @m_class{m-label m-primary} **3D** +@m_enddiv + +@m_div{m-col-m-3 m-col-t-6 m-text-center m-nopadt m-nopadx} +@image html shaders-meshvisualizer.png +@ref MeshVisualizer @m_class{m-label m-primary} **3D** +@m_enddiv + +@endparblock + +@m_class{m-row} + +@parblock + +@m_div{m-col-m-3 m-push-m-3 m-col-t-6 m-text-center m-nopadt m-nopadx} +@image html shaders-vector.png +@ref Vector @m_class{m-label m-success} **2D** @m_class{m-label m-primary} **3D** +@m_enddiv + +@m_div{m-col-m-3 m-push-m-3 m-col-t-6 m-text-center m-nopadt m-nopadx} +@image html shaders-distancefieldvector.png +@ref DistanceFieldVector @m_class{m-label m-success} **2D** @m_class{m-label m-primary} **3D** +@m_enddiv + +@endparblock + */ /** @dir Magnum/Text