VTK
9.3.0
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
Rendering
WebGPU
vtkWebGPUInternalsRenderPassDescriptor.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2
// SPDX-License-Identifier: BSD-3-Clause
3
#ifndef vtkWebGPUInternalsRenderPassDescriptor_h
4
#define vtkWebGPUInternalsRenderPassDescriptor_h
5
6
#include "vtkRenderingWebGPUModule.h"
7
#include "
vtk_wgpu.h
"
8
9
#include <array>
10
#include <vector>
11
12
VTK_ABI_NAMESPACE_BEGIN
13
class
VTKRENDERINGWEBGPU_EXPORT
vtkWebGPUInternalsRenderPassDescriptor
14
:
public
wgpu::RenderPassDescriptor
15
{
16
public
:
17
static
constexpr
int
kMaxColorAttachments = 8u;
18
vtkWebGPUInternalsRenderPassDescriptor
(
const
std::vector<wgpu::TextureView>& colorAttachmentInfo,
19
wgpu::TextureView depthStencil = wgpu::TextureView());
20
~vtkWebGPUInternalsRenderPassDescriptor
();
21
22
vtkWebGPUInternalsRenderPassDescriptor
(
23
const
vtkWebGPUInternalsRenderPassDescriptor
& otherRenderPass);
24
const
vtkWebGPUInternalsRenderPassDescriptor
&
operator=
(
25
const
vtkWebGPUInternalsRenderPassDescriptor
& otherRenderPass);
26
27
void
UnsetDepthStencilLoadStoreOpsForFormat
(wgpu::TextureFormat format);
28
29
std::array<wgpu::RenderPassColorAttachment, kMaxColorAttachments>
ColorAttachments
;
30
wgpu::RenderPassDepthStencilAttachment DepthStencilAttachmentInfo = {};
31
};
32
VTK_ABI_NAMESPACE_END
33
34
#endif
35
// VTK-HeaderTest-Exclude: vtkWebGPUInternalsRenderPassDescriptor.h
vtkWebGPUInternalsRenderPassDescriptor
Definition
vtkWebGPUInternalsRenderPassDescriptor.h:15
vtkWebGPUInternalsRenderPassDescriptor::~vtkWebGPUInternalsRenderPassDescriptor
~vtkWebGPUInternalsRenderPassDescriptor()
vtkWebGPUInternalsRenderPassDescriptor::vtkWebGPUInternalsRenderPassDescriptor
vtkWebGPUInternalsRenderPassDescriptor(const vtkWebGPUInternalsRenderPassDescriptor &otherRenderPass)
vtkWebGPUInternalsRenderPassDescriptor::UnsetDepthStencilLoadStoreOpsForFormat
void UnsetDepthStencilLoadStoreOpsForFormat(wgpu::TextureFormat format)
vtkWebGPUInternalsRenderPassDescriptor::operator=
const vtkWebGPUInternalsRenderPassDescriptor & operator=(const vtkWebGPUInternalsRenderPassDescriptor &otherRenderPass)
vtkWebGPUInternalsRenderPassDescriptor::vtkWebGPUInternalsRenderPassDescriptor
vtkWebGPUInternalsRenderPassDescriptor(const std::vector< wgpu::TextureView > &colorAttachmentInfo, wgpu::TextureView depthStencil=wgpu::TextureView())
vtkWebGPUInternalsRenderPassDescriptor::ColorAttachments
std::array< wgpu::RenderPassColorAttachment, kMaxColorAttachments > ColorAttachments
Definition
vtkWebGPUInternalsRenderPassDescriptor.h:29
vtk_wgpu.h
Generated on Thu Jun 20 2024 00:00:00 for VTK by
1.11.0