3#ifndef vtkWebGPURenderPassDescriptorInternals_h
4#define vtkWebGPURenderPassDescriptorInternals_h
6#include "vtkRenderingWebGPUModule.h"
12VTK_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);
31 wgpu::RenderPassDepthStencilAttachment DepthStencilAttachmentInfo = {};
~vtkWebGPURenderPassDescriptorInternals()
vtkWebGPURenderPassDescriptorInternals(const vtkWebGPURenderPassDescriptorInternals &otherRenderPass)
std::array< wgpu::RenderPassColorAttachment, kMaxColorAttachments > ColorAttachments
void UnsetDepthStencilLoadStoreOpsForFormat(wgpu::TextureFormat format)
vtkWebGPURenderPassDescriptorInternals(const std::vector< wgpu::TextureView > &colorAttachmentInfo, wgpu::TextureView depthStencil=wgpu::TextureView(), bool clearColor=true, bool clearDepth=true, bool clearStencil=true)
const vtkWebGPURenderPassDescriptorInternals & operator=(const vtkWebGPURenderPassDescriptorInternals &otherRenderPass)