3 #ifndef vtkWebGPURenderPassDescriptorInternals_h
4 #define vtkWebGPURenderPassDescriptorInternals_h
6 #include "vtkRenderingWebGPUModule.h"
12 VTK_ABI_NAMESPACE_BEGIN
14 :
public wgpu::RenderPassDescriptor
17 static constexpr
int kMaxColorAttachments = 8u;
19 wgpu::TextureView depthStencil = wgpu::TextureView(),
bool clearColor =
true,
20 bool clearDepth =
true,
bool clearStencil =
true);
28 void UnsetDepthStencilLoadStoreOpsForFormat(wgpu::TextureFormat format);
31 wgpu::RenderPassDepthStencilAttachment DepthStencilAttachmentInfo = {};
std::array< wgpu::RenderPassColorAttachment, kMaxColorAttachments > ColorAttachments