From e7bb19b70b69f0f2f4ed2bfd68351448975e8bdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Tue, 7 Aug 2012 16:36:32 +0200 Subject: [PATCH] Documented unsized internal depth/stencil format. --- src/AbstractTexture.h | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/AbstractTexture.h b/src/AbstractTexture.h index 79e912b9d..f30f78cb3 100644 --- a/src/AbstractTexture.h +++ b/src/AbstractTexture.h @@ -439,12 +439,21 @@ class MAGNUM_EXPORT AbstractTexture { CompressedBptcRGBUnsignedFloat = GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT, #endif - /** Depth component. */ + /** + * Depth component, at least 16bit. + * + * Prefer to use the exactly specified version of this format, in + * this case e.g. `Format::Depth16`. + */ Depth = GL_DEPTH_COMPONENT, #ifndef MAGNUM_TARGET_GLES /** - * Depth and stencil component. + * Depth and stencil component, at least 24bit depth and 8bit + * stencil. + * + * Prefer to use the exactly specified version of this format, in + * this case e.g. `Format::Depth24Stencil8`. * @requires_gl */ DepthStencil = GL_DEPTH_STENCIL,