From 40fa631f2b6a481e9ae973fa8e3b0ba59defbb6f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 6 Sep 2022 15:09:24 +0200 Subject: [PATCH] Shaders: these constructors shuld've been marked as new. "New". I should really make a release already. --- src/Magnum/Shaders/DistanceFieldVectorGL.h | 1 + src/Magnum/Shaders/FlatGL.h | 1 + src/Magnum/Shaders/MeshVisualizerGL.h | 2 ++ src/Magnum/Shaders/PhongGL.h | 1 + src/Magnum/Shaders/VectorGL.h | 1 + src/Magnum/Shaders/VertexColorGL.h | 1 + 6 files changed, 7 insertions(+) diff --git a/src/Magnum/Shaders/DistanceFieldVectorGL.h b/src/Magnum/Shaders/DistanceFieldVectorGL.h index c4332e200..febf8cee8 100644 --- a/src/Magnum/Shaders/DistanceFieldVectorGL.h +++ b/src/Magnum/Shaders/DistanceFieldVectorGL.h @@ -272,6 +272,7 @@ template class MAGNUM_SHADERS_EXPORT DistanceFieldVector * @ref TextureTransformationUniform buffer bound with * @ref bindTransformationProjectionBuffer(), @ref bindDrawBuffer() * and @ref bindTextureTransformationBuffer() + * @m_since_latest * * If @p flags contains @ref Flag::UniformBuffers, @p materialCount and * @p drawCount describe the uniform buffer sizes as these are required diff --git a/src/Magnum/Shaders/FlatGL.h b/src/Magnum/Shaders/FlatGL.h index d7775f7e8..e54c3da92 100644 --- a/src/Magnum/Shaders/FlatGL.h +++ b/src/Magnum/Shaders/FlatGL.h @@ -594,6 +594,7 @@ template class MAGNUM_SHADERS_EXPORT FlatGL: public GL:: * / @ref TextureTransformationUniform buffer bound with * @ref bindTransformationProjectionBuffer(), @ref bindDrawBuffer() * and @ref bindTextureTransformationBuffer() + * @m_since_latest * * If @p flags contains @ref Flag::UniformBuffers, @p materialCount and * @p drawCount describe the uniform buffer sizes as these are required diff --git a/src/Magnum/Shaders/MeshVisualizerGL.h b/src/Magnum/Shaders/MeshVisualizerGL.h index 8857663ee..b519cb63a 100644 --- a/src/Magnum/Shaders/MeshVisualizerGL.h +++ b/src/Magnum/Shaders/MeshVisualizerGL.h @@ -500,6 +500,7 @@ class MAGNUM_SHADERS_EXPORT MeshVisualizerGL2D: public Implementation::MeshVisua * / @ref MeshVisualizerMaterialUniform buffer bound with * @ref bindTransformationProjectionBuffer() and * @ref bindDrawBuffer() + * @m_since_latest * * At least @ref Flag::Wireframe is expected to be enabled. * @@ -1756,6 +1757,7 @@ class MAGNUM_SHADERS_EXPORT MeshVisualizerGL3D: public Implementation::MeshVisua * @ref MeshVisualizerMaterialUniform buffer bound with * @ref bindProjectionBuffer(), @ref bindTransformationBuffer() * and @ref bindDrawBuffer() + * @m_since_latest * * At least @ref Flag::Wireframe or one of @ref Flag::TangentDirection, * @ref Flag::BitangentFromTangentDirection, diff --git a/src/Magnum/Shaders/PhongGL.h b/src/Magnum/Shaders/PhongGL.h index e496e5850..6b0aa8dc7 100644 --- a/src/Magnum/Shaders/PhongGL.h +++ b/src/Magnum/Shaders/PhongGL.h @@ -810,6 +810,7 @@ class MAGNUM_SHADERS_EXPORT PhongGL: public GL::AbstractShaderProgram { * @ref TextureTransformationUniform buffer bound with * @ref bindProjectionBuffer(), @ref bindTransformationBuffer(), * @ref bindDrawBuffer() and @ref bindTextureTransformationBuffer() + * @m_since_latest * * If @p flags contains @ref Flag::UniformBuffers, @p lightCount, * @p materialCount and @p drawCount describe the uniform buffer sizes diff --git a/src/Magnum/Shaders/VectorGL.h b/src/Magnum/Shaders/VectorGL.h index 601bd0a44..ffa2821b2 100644 --- a/src/Magnum/Shaders/VectorGL.h +++ b/src/Magnum/Shaders/VectorGL.h @@ -266,6 +266,7 @@ template class MAGNUM_SHADERS_EXPORT VectorGL: public GL * @ref VectorDrawUniform / @ref TextureTransformationUniform * buffer bound with @ref bindTransformationProjectionBuffer(), * @ref bindDrawBuffer() and @ref bindTextureTransformationBuffer() + * @m_since_latest * * If @p flags contains @ref Flag::UniformBuffers, @p materialCount and * @p drawCount describe the uniform buffer sizes as these are required diff --git a/src/Magnum/Shaders/VertexColorGL.h b/src/Magnum/Shaders/VertexColorGL.h index 1c671c779..e025eda77 100644 --- a/src/Magnum/Shaders/VertexColorGL.h +++ b/src/Magnum/Shaders/VertexColorGL.h @@ -257,6 +257,7 @@ template class MAGNUM_SHADERS_EXPORT VertexColorGL: publ * @param drawCount Size of a @ref TransformationProjectionUniform2D * / @ref TransformationProjectionUniform3D buffer bound with * @ref bindTransformationProjectionBuffer() + * @m_since_latest * * If @p flags contains @ref Flag::UniformBuffers, @p drawCount * describes the uniform buffer sizes as these are required to have a