VTK  9.4.20241226
Public Member Functions | Public Attributes | List of all members
vtkWebGPUBindGroupInternals::BindingInitializationHelper Struct Reference

#include <vtkWebGPUBindGroupInternals.h>

Public Member Functions

 BindingInitializationHelper (uint32_t binding, const wgpu::Sampler &sampler)
 
 BindingInitializationHelper (uint32_t binding, const wgpu::TextureView &textureView)
 
 BindingInitializationHelper (uint32_t binding, const wgpu::Buffer &buffer, uint64_t offset=0, uint64_t size=wgpu::kWholeSize)
 
 BindingInitializationHelper (const BindingInitializationHelper &)
 
 ~BindingInitializationHelper ()
 
wgpu::BindGroupEntry GetAsBinding () const
 

Public Attributes

uint32_t binding
 
wgpu::Sampler sampler
 
wgpu::TextureView textureView
 
wgpu::Buffer buffer
 
uint64_t offset = 0
 
uint64_t size = 0
 

Detailed Description

Definition at line 29 of file vtkWebGPUBindGroupInternals.h.

Constructor & Destructor Documentation

◆ BindingInitializationHelper() [1/4]

vtkWebGPUBindGroupInternals::BindingInitializationHelper::BindingInitializationHelper ( uint32_t  binding,
const wgpu::Sampler &  sampler 
)

◆ BindingInitializationHelper() [2/4]

vtkWebGPUBindGroupInternals::BindingInitializationHelper::BindingInitializationHelper ( uint32_t  binding,
const wgpu::TextureView &  textureView 
)

◆ BindingInitializationHelper() [3/4]

vtkWebGPUBindGroupInternals::BindingInitializationHelper::BindingInitializationHelper ( uint32_t  binding,
const wgpu::Buffer &  buffer,
uint64_t  offset = 0,
uint64_t  size = wgpu::kWholeSize 
)

◆ BindingInitializationHelper() [4/4]

vtkWebGPUBindGroupInternals::BindingInitializationHelper::BindingInitializationHelper ( const BindingInitializationHelper )

◆ ~BindingInitializationHelper()

vtkWebGPUBindGroupInternals::BindingInitializationHelper::~BindingInitializationHelper ( )

Member Function Documentation

◆ GetAsBinding()

wgpu::BindGroupEntry vtkWebGPUBindGroupInternals::BindingInitializationHelper::GetAsBinding ( ) const

Member Data Documentation

◆ binding

uint32_t vtkWebGPUBindGroupInternals::BindingInitializationHelper::binding

Definition at line 40 of file vtkWebGPUBindGroupInternals.h.

◆ sampler

wgpu::Sampler vtkWebGPUBindGroupInternals::BindingInitializationHelper::sampler

Definition at line 41 of file vtkWebGPUBindGroupInternals.h.

◆ textureView

wgpu::TextureView vtkWebGPUBindGroupInternals::BindingInitializationHelper::textureView

Definition at line 42 of file vtkWebGPUBindGroupInternals.h.

◆ buffer

wgpu::Buffer vtkWebGPUBindGroupInternals::BindingInitializationHelper::buffer

Definition at line 43 of file vtkWebGPUBindGroupInternals.h.

◆ offset

uint64_t vtkWebGPUBindGroupInternals::BindingInitializationHelper::offset = 0

Definition at line 44 of file vtkWebGPUBindGroupInternals.h.

◆ size

uint64_t vtkWebGPUBindGroupInternals::BindingInitializationHelper::size = 0

Definition at line 45 of file vtkWebGPUBindGroupInternals.h.


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