18#ifndef vtkWebGPUCommandEncoderDebugGroup_h
19#define vtkWebGPUCommandEncoderDebugGroup_h
21#include "vtkABINamespace.h"
22#include "vtkRenderingWebGPUModule.h"
25VTK_ABI_NAMESPACE_BEGIN
31 const wgpu::RenderPassEncoder& passEncoder,
const char* groupLabel);
33 const wgpu::RenderBundleEncoder& passEncoder,
const char* groupLabel);
45 const wgpu::RenderPassEncoder* PassEncoder =
nullptr;
46 const wgpu::RenderBundleEncoder* BundleEncoder =
nullptr;
49#define vtkScopedEncoderDebugGroupConcatImpl(s1, s2) s1##s2
50#define vtkScopedEncoderDebugGroupConcat(s1, s2) vtkScopedEncoderDebugGroupConcatImpl(s1, s2)
51#define vtkScopedEncoderDebugGroupAnonymousVariable(x) vtkScopedEncoderDebugGroupConcat(x, __LINE__)
53#define vtkScopedEncoderDebugGroup(encoder, name) \
54 ::vtkWebGPUCommandEncoderDebugGroup vtkScopedEncoderDebugGroupAnonymousVariable( \
55 encoderDebugGroup)(encoder, name)
Convenient class that inserts annotations around draw commands within a render pass/bundle.
~vtkWebGPUCommandEncoderDebugGroup()
void operator=(vtkWebGPUCommandEncoderDebugGroup &&)=delete
void operator=(const vtkWebGPUCommandEncoderDebugGroup &)=delete
vtkWebGPUCommandEncoderDebugGroup(const wgpu::RenderPassEncoder &passEncoder, const char *groupLabel)
vtkWebGPUCommandEncoderDebugGroup(const wgpu::RenderBundleEncoder &passEncoder, const char *groupLabel)
vtkWebGPUCommandEncoderDebugGroup()=delete
vtkWebGPUCommandEncoderDebugGroup(vtkWebGPUCommandEncoderDebugGroup &&)=delete
vtkWebGPUCommandEncoderDebugGroup(const vtkWebGPUCommandEncoderDebugGroup &)=delete