VTK  9.3.1
vtkWebGPUInternalsRenderPassDescriptor Class Reference

#include <vtkWebGPUInternalsRenderPassDescriptor.h>

Inherits wgpu::RenderPassDescriptor.

Public Member Functions

 vtkWebGPUInternalsRenderPassDescriptor (const std::vector< wgpu::TextureView > &colorAttachmentInfo, wgpu::TextureView depthStencil=wgpu::TextureView())
 
 ~vtkWebGPUInternalsRenderPassDescriptor ()
 
 vtkWebGPUInternalsRenderPassDescriptor (const vtkWebGPUInternalsRenderPassDescriptor &otherRenderPass)
 
const vtkWebGPUInternalsRenderPassDescriptoroperator= (const vtkWebGPUInternalsRenderPassDescriptor &otherRenderPass)
 
void UnsetDepthStencilLoadStoreOpsForFormat (wgpu::TextureFormat format)
 

Public Attributes

std::array< wgpu::RenderPassColorAttachment, kMaxColorAttachmentsColorAttachments
 
wgpu::RenderPassDepthStencilAttachment DepthStencilAttachmentInfo = {}
 

Static Public Attributes

static constexpr int kMaxColorAttachments = 8u
 

Detailed Description

Definition at line 13 of file vtkWebGPUInternalsRenderPassDescriptor.h.

Constructor & Destructor Documentation

◆ vtkWebGPUInternalsRenderPassDescriptor() [1/2]

vtkWebGPUInternalsRenderPassDescriptor::vtkWebGPUInternalsRenderPassDescriptor ( const std::vector< wgpu::TextureView > & colorAttachmentInfo,
wgpu::TextureView depthStencil = wgpu::TextureView() )

◆ ~vtkWebGPUInternalsRenderPassDescriptor()

vtkWebGPUInternalsRenderPassDescriptor::~vtkWebGPUInternalsRenderPassDescriptor ( )

◆ vtkWebGPUInternalsRenderPassDescriptor() [2/2]

vtkWebGPUInternalsRenderPassDescriptor::vtkWebGPUInternalsRenderPassDescriptor ( const vtkWebGPUInternalsRenderPassDescriptor & otherRenderPass)

Member Function Documentation

◆ operator=()

const vtkWebGPUInternalsRenderPassDescriptor & vtkWebGPUInternalsRenderPassDescriptor::operator= ( const vtkWebGPUInternalsRenderPassDescriptor & otherRenderPass)

◆ UnsetDepthStencilLoadStoreOpsForFormat()

void vtkWebGPUInternalsRenderPassDescriptor::UnsetDepthStencilLoadStoreOpsForFormat ( wgpu::TextureFormat format)

Member Data Documentation

◆ kMaxColorAttachments

int vtkWebGPUInternalsRenderPassDescriptor::kMaxColorAttachments = 8u
staticconstexpr

Definition at line 17 of file vtkWebGPUInternalsRenderPassDescriptor.h.

◆ ColorAttachments

std::array<wgpu::RenderPassColorAttachment, kMaxColorAttachments> vtkWebGPUInternalsRenderPassDescriptor::ColorAttachments

Definition at line 29 of file vtkWebGPUInternalsRenderPassDescriptor.h.

◆ DepthStencilAttachmentInfo

wgpu::RenderPassDepthStencilAttachment vtkWebGPUInternalsRenderPassDescriptor::DepthStencilAttachmentInfo = {}

Definition at line 30 of file vtkWebGPUInternalsRenderPassDescriptor.h.


The documentation for this class was generated from the following file: