VTK  9.4.20251007
vtkWebGPURenderPassDescriptorInternals Class Reference

#include <vtkWebGPURenderPassDescriptorInternals.h>

Inherits wgpu::RenderPassDescriptor.

Public Member Functions

 vtkWebGPURenderPassDescriptorInternals (const std::vector< wgpu::TextureView > &colorAttachmentInfo, wgpu::TextureView depthStencil=wgpu::TextureView(), bool doClear=true)
 ~vtkWebGPURenderPassDescriptorInternals ()
 vtkWebGPURenderPassDescriptorInternals (const vtkWebGPURenderPassDescriptorInternals &otherRenderPass)
const vtkWebGPURenderPassDescriptorInternalsoperator= (const vtkWebGPURenderPassDescriptorInternals &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 vtkWebGPURenderPassDescriptorInternals.h.

Constructor & Destructor Documentation

◆ vtkWebGPURenderPassDescriptorInternals() [1/2]

vtkWebGPURenderPassDescriptorInternals::vtkWebGPURenderPassDescriptorInternals ( const std::vector< wgpu::TextureView > & colorAttachmentInfo,
wgpu::TextureView depthStencil = wgpu::TextureView(),
bool doClear = true )

◆ ~vtkWebGPURenderPassDescriptorInternals()

vtkWebGPURenderPassDescriptorInternals::~vtkWebGPURenderPassDescriptorInternals ( )

◆ vtkWebGPURenderPassDescriptorInternals() [2/2]

vtkWebGPURenderPassDescriptorInternals::vtkWebGPURenderPassDescriptorInternals ( const vtkWebGPURenderPassDescriptorInternals & otherRenderPass)

Member Function Documentation

◆ operator=()

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

◆ UnsetDepthStencilLoadStoreOpsForFormat()

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

Member Data Documentation

◆ kMaxColorAttachments

int vtkWebGPURenderPassDescriptorInternals::kMaxColorAttachments = 8u
staticconstexpr

Definition at line 17 of file vtkWebGPURenderPassDescriptorInternals.h.

◆ ColorAttachments

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

Definition at line 29 of file vtkWebGPURenderPassDescriptorInternals.h.

◆ DepthStencilAttachmentInfo

wgpu::RenderPassDepthStencilAttachment vtkWebGPURenderPassDescriptorInternals::DepthStencilAttachmentInfo = {}

Definition at line 30 of file vtkWebGPURenderPassDescriptorInternals.h.


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