|
Blender V5.3
|
Go to the source code of this file.
Classes | |
| struct | blender::gpu::DebugScope |
| struct | blender::gpu::DebugScope::ScopedCapture |
Namespaces | |
| namespace | blender |
| BMesh Iterators. | |
| namespace | blender::gpu |
Macros | |
| #define | GPU_DEBUG_SHADER_COMPILATION_GROUP "Shader Compilation" |
| #define | GPU_DEBUG_SHADER_SPECIALIZATION_GROUP "Shader Specialization" |
Functions | |
| void | blender::GPU_debug_group_begin (const char *name) |
| void | blender::GPU_debug_group_end () |
| void | blender::GPU_debug_get_groups_names (int name_buf_maxncpy, char *r_name_buf) |
| std::string | blender::GPU_debug_get_groups_names (IndexRange levels=IndexRange(0, 9999)) |
| bool | blender::GPU_debug_group_match (const char *ref) |
| void | blender::GPU_debug_capture_begin (const char *title) |
| void | blender::GPU_debug_capture_end () |
| void * | blender::GPU_debug_capture_scope_create (const char *name) |
| bool | blender::GPU_debug_capture_scope_begin (void *scope) |
| void | blender::GPU_debug_capture_scope_end (void *scope) |
Helpers for GPU / drawing debugging.
GPU debug capture usage example:
Will trigger a capture and load it inside RenderDoc or Xcode.
Capture scope can be sprinkled around the codebase for easier selective capture.
They are listed from inside Xcode (on Mac) when doing a Metal capture.
OpenGL and Vulkan backend need to use the --debug-gpu-scope-capture launch argument to specify which scope to capture. Building with RenderDoc API support is required for this launch option to be available.
They can be nested but only one can be captured at a time.
Definition in file GPU_debug.hh.
| #define GPU_DEBUG_SHADER_COMPILATION_GROUP "Shader Compilation" |
Definition at line 70 of file GPU_debug.hh.
Referenced by blender::gpu::ShaderCompiler::compile(), and blender::gpu::debug::debug_callback().
| #define GPU_DEBUG_SHADER_SPECIALIZATION_GROUP "Shader Specialization" |
Definition at line 71 of file GPU_debug.hh.
Referenced by blender::gpu::debug::debug_callback().