VTK
9.4.20241218
|
Convenient class that inserts annotations around draw commands within a render pass/bundle. More...
#include <vtkWebGPUCommandEncoderDebugGroup.h>
Public Member Functions | |
vtkWebGPUCommandEncoderDebugGroup (const wgpu::RenderPassEncoder &passEncoder, const char *groupLabel) | |
vtkWebGPUCommandEncoderDebugGroup (const wgpu::RenderBundleEncoder &passEncoder, const char *groupLabel) | |
~vtkWebGPUCommandEncoderDebugGroup () | |
vtkWebGPUCommandEncoderDebugGroup ()=delete | |
vtkWebGPUCommandEncoderDebugGroup (const vtkWebGPUCommandEncoderDebugGroup &)=delete | |
void | operator= (const vtkWebGPUCommandEncoderDebugGroup &)=delete |
vtkWebGPUCommandEncoderDebugGroup (vtkWebGPUCommandEncoderDebugGroup &&)=delete | |
void | operator= (vtkWebGPUCommandEncoderDebugGroup &&)=delete |
Convenient class that inserts annotations around draw commands within a render pass/bundle.
Implementation classes can use the vtkScopedEncoderDebugGroup(encoder, label)
macro to automatically push a debug group in the encoder using a label string. Upon leaving scope, this class will take care of popping the debug group. The label string will appear in professional graphics debugging tools like RenderDoc/NSight/apitrace and is very useful to isolate draw commands. You may use indicators like class names, pointer addresses, line numbers, array names to make sense of the draw commands by mapping their origins to VTK C++ code.
Definition at line 27 of file vtkWebGPUCommandEncoderDebugGroup.h.
vtkWebGPUCommandEncoderDebugGroup::vtkWebGPUCommandEncoderDebugGroup | ( | const wgpu::RenderPassEncoder & | passEncoder, |
const char * | groupLabel | ||
) |
vtkWebGPUCommandEncoderDebugGroup::vtkWebGPUCommandEncoderDebugGroup | ( | const wgpu::RenderBundleEncoder & | passEncoder, |
const char * | groupLabel | ||
) |
vtkWebGPUCommandEncoderDebugGroup::~vtkWebGPUCommandEncoderDebugGroup | ( | ) |
|
delete |
|
delete |
|
delete |
|
delete |
|
delete |