From e7fd6c8f30cd1161496831859da403eaa34fdf89 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Tue, 19 Mar 2019 15:17:46 +1100 Subject: Cleanup: comment blocks --- source/blender/gpu/GPU_framebuffer.h | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'source/blender/gpu/GPU_framebuffer.h') diff --git a/source/blender/gpu/GPU_framebuffer.h b/source/blender/gpu/GPU_framebuffer.h index b635f9489d0..e822c33ab4a 100644 --- a/source/blender/gpu/GPU_framebuffer.h +++ b/source/blender/gpu/GPU_framebuffer.h @@ -84,22 +84,24 @@ void GPU_framebuffer_texture_detach_slot( GPUFrameBuffer *fb, struct GPUTexture *tex, int type); /** - * How to use GPU_framebuffer_ensure_config(). + * How to use #GPU_framebuffer_ensure_config(). * - * Example : + * Example: + * \code{.c} * GPU_framebuffer_ensure_config(&fb, { * GPU_ATTACHMENT_TEXTURE(depth), // must be depth buffer * GPU_ATTACHMENT_TEXTURE(tex1), * GPU_ATTACHMENT_TEXTURE_CUBEFACE(tex2, 0), * GPU_ATTACHMENT_TEXTURE_LAYER_MIP(tex2, 0, 0) * }) + * \encode * - * Note : Unspecified attachements (i.e: those beyond the last - * GPU_ATTACHMENT_* in GPU_framebuffer_ensure_config list) - * are left unchanged. - * Note : Make sure that the dimensions of your textures matches - * otherwise you will have an invalid framebuffer error. - **/ + * \note Unspecified attachements (i.e: those beyond the last + * GPU_ATTACHMENT_* in GPU_framebuffer_ensure_config list) are left unchanged. + * + * \note Make sure that the dimensions of your textures matches + * otherwise you will have an invalid framebuffer error. + */ #define GPU_framebuffer_ensure_config(_fb, ...) do { \ if (*(_fb) == NULL) { \ *(_fb) = GPU_framebuffer_create(); \ -- cgit v1.2.3