VTK  9.7.20260913
vtkWebGPURenderPassDescriptorInternals Class Reference

#include <vtkWebGPURenderPassDescriptorInternals.h>

Detailed Description

Definition at line 13 of file vtkWebGPURenderPassDescriptorInternals.h.

Inherits WGPURenderPassDescriptor.

Public Member Functions

 vtkWebGPURenderPassDescriptorInternals (const std::vector< WGPUTextureView > &colorAttachmentInfo, WGPUTextureView depthStencil=nullptr, bool clearColor=true, bool clearDepth=true, bool clearStencil=true)
 ~vtkWebGPURenderPassDescriptorInternals ()
 vtkWebGPURenderPassDescriptorInternals (const vtkWebGPURenderPassDescriptorInternals &otherRenderPass)
const vtkWebGPURenderPassDescriptorInternalsoperator= (const vtkWebGPURenderPassDescriptorInternals &otherRenderPass)
void UnsetDepthStencilLoadStoreOpsForFormat (WGPUTextureFormat format)

Public Attributes

std::array< WGPURenderPassColorAttachment, kMaxColorAttachmentsColorAttachments
WGPURenderPassDepthStencilAttachment DepthStencilAttachmentInfo

Static Public Attributes

static constexpr int kMaxColorAttachments = 8u

Constructor & Destructor Documentation

◆ vtkWebGPURenderPassDescriptorInternals() [1/2]

vtkWebGPURenderPassDescriptorInternals::vtkWebGPURenderPassDescriptorInternals ( const std::vector< WGPUTextureView > & colorAttachmentInfo,
WGPUTextureView depthStencil = nullptr,
bool clearColor = true,
bool clearDepth = true,
bool clearStencil = 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 ( WGPUTextureFormat format)

Member Data Documentation

◆ kMaxColorAttachments

int vtkWebGPURenderPassDescriptorInternals::kMaxColorAttachments = 8u
staticconstexpr

Definition at line 17 of file vtkWebGPURenderPassDescriptorInternals.h.

◆ ColorAttachments

std::array<WGPURenderPassColorAttachment, kMaxColorAttachments> vtkWebGPURenderPassDescriptorInternals::ColorAttachments

Definition at line 30 of file vtkWebGPURenderPassDescriptorInternals.h.

◆ DepthStencilAttachmentInfo

WGPURenderPassDepthStencilAttachment vtkWebGPURenderPassDescriptorInternals::DepthStencilAttachmentInfo
Initial value:
=
WGPU_RENDER_PASS_DEPTH_STENCIL_ATTACHMENT_INIT

Definition at line 31 of file vtkWebGPURenderPassDescriptorInternals.h.


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