3#ifndef vtkWebGPURenderPipelineDescriptorInternals_h
4#define vtkWebGPURenderPipelineDescriptorInternals_h
6#include "vtkRenderingWebGPUModule.h"
11VTK_ABI_NAMESPACE_BEGIN
21 :
public WGPURenderPipelineDescriptor
39 WGPUTextureFormat format = WGPUTextureFormat_Depth24PlusStencil8);
45 std::array<WGPUVertexBufferLayout, kMaxVertexBuffers>
cBuffers;
46 std::array<WGPUVertexAttribute, kMaxVertexAttributes>
cAttributes;
47 std::array<WGPUColorTargetState, kMaxColorAttachments>
cTargets;
48 std::array<WGPUBlendState, kMaxColorAttachments>
cBlends;
50 WGPUFragmentState
cFragment = WGPU_FRAGMENT_STATE_INIT;
std::array< WGPUColorTargetState, kMaxColorAttachments > cTargets
vtkWebGPURenderPipelineDescriptorInternals & operator=(const vtkWebGPURenderPipelineDescriptorInternals &)=delete
WGPUFragmentState cFragment
WGPUBlendState * EnableBlending(std::size_t colorTargetId)
static constexpr int kMaxVertexAttributes
vtkWebGPURenderPipelineDescriptorInternals & operator=(vtkWebGPURenderPipelineDescriptorInternals &&)=delete
void DisableDepthStencil()
std::array< WGPUVertexAttribute, kMaxVertexAttributes > cAttributes
static constexpr int kMaxVertexBuffers
WGPUDepthStencilState cDepthStencil
vtkWebGPURenderPipelineDescriptorInternals(vtkWebGPURenderPipelineDescriptorInternals &&)=delete
std::array< WGPUVertexBufferLayout, kMaxVertexBuffers > cBuffers
std::array< WGPUBlendState, kMaxColorAttachments > cBlends
void DisableBlending(std::size_t colorTargetId)
WGPUDepthStencilState * EnableDepthStencil(WGPUTextureFormat format=WGPUTextureFormat_Depth24PlusStencil8)
vtkWebGPURenderPipelineDescriptorInternals()
vtkWebGPURenderPipelineDescriptorInternals(const vtkWebGPURenderPipelineDescriptorInternals &)=delete
static constexpr int kMaxColorAttachments