3#ifndef vtkWebGPURenderPipelineDescriptorInternals_h
4#define vtkWebGPURenderPipelineDescriptorInternals_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);
37 std::array<wgpu::VertexBufferLayout, kMaxVertexBuffers>
cBuffers;
38 std::array<wgpu::VertexAttribute, kMaxVertexAttributes>
cAttributes;
39 std::array<wgpu::ColorTargetState, kMaxColorAttachments>
cTargets;
40 std::array<wgpu::BlendState, kMaxColorAttachments>
cBlends;
wgpu::DepthStencilState * EnableDepthStencil(wgpu::TextureFormat format=wgpu::TextureFormat::Depth24PlusStencil8)
std::array< wgpu::BlendState, kMaxColorAttachments > cBlends
vtkWebGPURenderPipelineDescriptorInternals & operator=(const vtkWebGPURenderPipelineDescriptorInternals &)=delete
std::array< wgpu::ColorTargetState, kMaxColorAttachments > cTargets
std::array< wgpu::VertexBufferLayout, kMaxVertexBuffers > cBuffers
vtkWebGPURenderPipelineDescriptorInternals & operator=(vtkWebGPURenderPipelineDescriptorInternals &&)=delete
void DisableDepthStencil()
wgpu::DepthStencilState cDepthStencil
vtkWebGPURenderPipelineDescriptorInternals(vtkWebGPURenderPipelineDescriptorInternals &&)=delete
std::array< wgpu::VertexAttribute, kMaxVertexAttributes > cAttributes
void DisableBlending(std::size_t colorTargetId)
vtkWebGPURenderPipelineDescriptorInternals()
wgpu::BlendState * EnableBlending(std::size_t colorTargetId)
vtkWebGPURenderPipelineDescriptorInternals(const vtkWebGPURenderPipelineDescriptorInternals &)=delete
wgpu::FragmentState cFragment