From 7c76bdca1b7195720a769c4911678d85825907fe Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 9 Dec 2021 20:01:47 +1100 Subject: Cleanup: move public doc-strings into headers for 'gpu' Ref T92709 --- source/blender/gpu/GPU_batch_presets.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'source/blender/gpu/GPU_batch_presets.h') diff --git a/source/blender/gpu/GPU_batch_presets.h b/source/blender/gpu/GPU_batch_presets.h index 19f200fecbf..73c9172f2ba 100644 --- a/source/blender/gpu/GPU_batch_presets.h +++ b/source/blender/gpu/GPU_batch_presets.h @@ -35,7 +35,8 @@ extern "C" { /* gpu_batch_presets.c */ -/* Replacement for gluSphere */ +/* Replacement for #gluSphere */ + struct GPUBatch *GPU_batch_preset_sphere(int lod) ATTR_WARN_UNUSED_RESULT; struct GPUBatch *GPU_batch_preset_sphere_wire(int lod) ATTR_WARN_UNUSED_RESULT; struct GPUBatch *GPU_batch_preset_panel_drag_widget(const float pixelsize, @@ -43,6 +44,9 @@ struct GPUBatch *GPU_batch_preset_panel_drag_widget(const float pixelsize, const float col_dark[4], const float width) ATTR_WARN_UNUSED_RESULT; +/** + * To be used with procedural placement inside shader. + */ struct GPUBatch *GPU_batch_preset_quad(void); void gpu_batch_presets_init(void); -- cgit v1.2.3