diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 07:17:46 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-19 07:17:46 +0300 |
commit | e7fd6c8f30cd1161496831859da403eaa34fdf89 (patch) | |
tree | 20d91289ea01da6e8cf668ae057e8aad7ff85887 /source/blender/gpu/GPU_framebuffer.h | |
parent | 5ef4b0438cf4773e7dd8c661388bb2c3079869bf (diff) |
Cleanup: comment blocks
Diffstat (limited to 'source/blender/gpu/GPU_framebuffer.h')
-rw-r--r-- | source/blender/gpu/GPU_framebuffer.h | 18 |
1 files changed, 10 insertions, 8 deletions
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(); \ |