From fad94d25268896456180b692caefe6b41564ed71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 14 Feb 2023 18:32:59 +0100 Subject: [PATCH] GL: forgot to document ImageAccess enum values. AND DOXYGEN DID NOT TELL ME!! For over eight years! It was undcoumented since the original d9b25c605790b076c6f8cded7dabaffe8f2f366f and I did not know!! --- src/Magnum/GL/ImageFormat.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Magnum/GL/ImageFormat.h b/src/Magnum/GL/ImageFormat.h index d0e71eadc..18e6890d3 100644 --- a/src/Magnum/GL/ImageFormat.h +++ b/src/Magnum/GL/ImageFormat.h @@ -48,8 +48,13 @@ namespace Magnum { namespace GL { @requires_gles Shader image load/store is not available in WebGL. */ enum class ImageAccess: GLenum { + /** Access the image for reading only */ ReadOnly = GL_READ_ONLY, + + /** Access the image for writing only */ WriteOnly = GL_WRITE_ONLY, + + /** Access the image for both reading and writing */ ReadWrite = GL_READ_WRITE };