3#ifndef vtkWebGPUInternalsRenderPipelineDescriptor_h
4#define vtkWebGPUInternalsRenderPipelineDescriptor_h
6#include "vtkRenderingWebGPUModule.h"
11VTK_ABI_NAMESPACE_BEGIN
13 :
public wgpu::RenderPipelineDescriptor
16 static constexpr int kMaxVertexBuffers = 8u;
17 static constexpr int kMaxVertexAttributes = 16u;
18 static constexpr int kMaxColorAttachments = 8u;
31 wgpu::TextureFormat format = wgpu::TextureFormat::Depth24PlusStencil8);
34 std::array<wgpu::VertexBufferLayout, kMaxVertexBuffers>
cBuffers;
35 std::array<wgpu::VertexAttribute, kMaxVertexAttributes>
cAttributes;
36 std::array<wgpu::ColorTargetState, kMaxColorAttachments>
cTargets;
37 std::array<wgpu::BlendState, kMaxColorAttachments>
cBlends;
wgpu::DepthStencilState cDepthStencil
std::array< wgpu::ColorTargetState, kMaxColorAttachments > cTargets
vtkWebGPUInternalsRenderPipelineDescriptor(vtkWebGPUInternalsRenderPipelineDescriptor &&)=delete
vtkWebGPUInternalsRenderPipelineDescriptor(const vtkWebGPUInternalsRenderPipelineDescriptor &)=delete
vtkWebGPUInternalsRenderPipelineDescriptor & operator=(vtkWebGPUInternalsRenderPipelineDescriptor &&)=delete
vtkWebGPUInternalsRenderPipelineDescriptor & operator=(const vtkWebGPUInternalsRenderPipelineDescriptor &)=delete
wgpu::DepthStencilState * EnableDepthStencil(wgpu::TextureFormat format=wgpu::TextureFormat::Depth24PlusStencil8)
wgpu::FragmentState cFragment
std::array< wgpu::BlendState, kMaxColorAttachments > cBlends
void DisableDepthStencil()
vtkWebGPUInternalsRenderPipelineDescriptor()
std::array< wgpu::VertexBufferLayout, kMaxVertexBuffers > cBuffers
std::array< wgpu::VertexAttribute, kMaxVertexAttributes > cAttributes