diff options
Diffstat (limited to 'source/blender/gpu/GPU_debug.h')
-rw-r--r-- | source/blender/gpu/GPU_debug.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/source/blender/gpu/GPU_debug.h b/source/blender/gpu/GPU_debug.h index f67e850ad80..9796ac63272 100644 --- a/source/blender/gpu/GPU_debug.h +++ b/source/blender/gpu/GPU_debug.h @@ -33,7 +33,14 @@ extern "C" { void GPU_debug_group_begin(const char *name); void GPU_debug_group_end(void); +/** + * Return a formatted string showing the current group hierarchy in this format: + * "Group1 > Group 2 > Group3 > ... > GroupN : " + */ void GPU_debug_get_groups_names(int name_buf_len, char *r_name_buf); +/** + * Return true if inside a debug group with the same name. + */ bool GPU_debug_group_match(const char *ref); #ifdef __cplusplus |