diff --git a/src/Magnum/Framebuffer.h b/src/Magnum/Framebuffer.h index 9a7a95eaf..15ee5930b 100644 --- a/src/Magnum/Framebuffer.h +++ b/src/Magnum/Framebuffer.h @@ -96,9 +96,9 @@ See also @ref AbstractFramebuffer-performance-optimization "relevant section in If either @extension{ARB,direct_state_access} (part of OpenGL 4.5) or @extension{EXT,direct_state_access} desktop extension is available, functions @ref checkStatus(), @ref mapForDraw(), @ref mapForRead(), @ref invalidate(), -@ref attachRenderbuffer(), @ref attachTexture(), @ref attachCubeMapTexture() -and @ref attachTextureLayer() use DSA to avoid unnecessary calls to -@fn_gl{BindFramebuffer}. See their respective documentation for more +@ref attachRenderbuffer(), @ref attachTexture(), @ref attachCubeMapTexture(), +@ref attachTextureLayer() and @ref detach() use DSA to avoid unnecessary calls +to @fn_gl{BindFramebuffer}. See their respective documentation for more information. @requires_gl30 Extension @extension{ARB,framebuffer_object} @@ -559,7 +559,7 @@ class MAGNUM_EXPORT Framebuffer: public AbstractFramebuffer, public AbstractObje * nor @extension{EXT,direct_state_access} desktop extension is * available, the framebuffer is bound before the operation (if not * already). - * @see @fn_gl2{NamedFramebufferRenderbuffer,FramebufferRenderbuffer}, + * @see @ref detach(), @fn_gl2{NamedFramebufferRenderbuffer,FramebufferRenderbuffer}, * @fn_gl_extension{NamedFramebufferRenderbuffer,EXT,direct_state_access}, * eventually @fn_gl{BindFramebuffer} and @fn_gl{FramebufferRenderbuffer} */ @@ -577,7 +577,8 @@ class MAGNUM_EXPORT Framebuffer: public AbstractFramebuffer, public AbstractObje * nor @extension{EXT,direct_state_access} desktop extension is * available, the framebuffer is bound before the operation (if not * already). - * @see @ref attachCubeMapTexture(), @fn_gl2{NamedFramebufferTexture,FramebufferTexture}, + * @see @ref detach(), @ref attachCubeMapTexture(), + * @fn_gl2{NamedFramebufferTexture,FramebufferTexture}, * @fn_gl_extension{NamedFramebufferTexture1D,EXT,direct_state_access}, * eventually @fn_gl{BindFramebuffer} and * @fn_gl2{FramebufferTexture1D,FramebufferTexture} @@ -598,7 +599,8 @@ class MAGNUM_EXPORT Framebuffer: public AbstractFramebuffer, public AbstractObje * nor @extension{EXT,direct_state_access} desktop extension is * available, the framebuffer is bound before the operation (if not * already). - * @see @ref attachCubeMapTexture(), @fn_gl2{NamedFramebufferTexture,FramebufferTexture}, + * @see @ref detach(), @ref attachCubeMapTexture(), + * @fn_gl2{NamedFramebufferTexture,FramebufferTexture}, * @fn_gl_extension{NamedFramebufferTexture2D,EXT,direct_state_access}, * eventually @fn_gl{BindFramebuffer} and * @fn_gl2{FramebufferTexture2D,FramebufferTexture} @@ -636,7 +638,8 @@ class MAGNUM_EXPORT Framebuffer: public AbstractFramebuffer, public AbstractObje * nor @extension{EXT,direct_state_access} desktop extension is * available, the framebuffer is bound before the operation (if not * already). - * @see @ref attachTexture(), @fn_gl2{NamedFramebufferTexture,FramebufferTexture}, + * @see @ref detach(), @ref attachTexture(), + * @fn_gl2{NamedFramebufferTexture,FramebufferTexture}, * @fn_gl_extension{NamedFramebufferTexture2D,EXT,direct_state_access}, * eventually @fn_gl{BindFramebuffer} and @fn_gl2{FramebufferTexture2D,FramebufferTexture} */ @@ -655,7 +658,7 @@ class MAGNUM_EXPORT Framebuffer: public AbstractFramebuffer, public AbstractObje * nor @extension{EXT,direct_state_access} desktop extension is * available, the framebuffer is bound before the operation (if not * already). - * @see @fn_gl2{NamedFramebufferTextureLayer,FramebufferTextureLayer}, + * @see @ref detach(), @fn_gl2{NamedFramebufferTextureLayer,FramebufferTextureLayer}, * @fn_gl_extension{NamedFramebufferTextureLayer,EXT,direct_state_access}, * eventually @fn_gl{BindFramebuffer} and @fn_gl2{FramebufferTextureLayer,FramebufferTexture} * or @fn_gles_extension{FramebufferTexture3D,OES,texture_3D} in @@ -710,7 +713,9 @@ class MAGNUM_EXPORT Framebuffer: public AbstractFramebuffer, public AbstractObje * nor @extension{EXT,direct_state_access} desktop extension is * available, the framebuffer is bound before the operation (if not * already). - * @see @fn_gl2{NamedFramebufferRenderbuffer,FramebufferRenderbuffer}, + * @see @ref attachRenderbuffer(), @ref attachTexture(), + * @ref attachCubeMapTexture(), @ref attachTextureLayer(), + * @fn_gl2{NamedFramebufferRenderbuffer,FramebufferRenderbuffer}, * @fn_gl_extension{NamedFramebufferRenderbuffer,EXT,direct_state_access}, * eventually @fn_gl{BindFramebuffer} and @fn_gl{FramebufferRenderbuffer} */