VTK  9.7.20261203
vtkWebGPUPolyDataMapper::AttributeBuffer Struct Reference

#include <vtkWebGPUPolyDataMapper.h>

Detailed Description

Definition at line 487 of file vtkWebGPUPolyDataMapper.h.

Classes

struct  Upload

Public Member Functions

bool RecordUpload (vtkDataArray *array, vtkMTimeType buildTime)
 Record array as the next upload, at the current watermark, and return whether it must be written.

Public Attributes

WGPUBuffer Buffer = nullptr
uint64_t Size = 0
uint64_t Watermark = 0
bool Touched = false
std::vector< Upload > Uploads
std::size_t NumberOfUploads = 0

Member Function Documentation

◆ RecordUpload()

bool vtkWebGPUPolyDataMapper::AttributeBuffer::RecordUpload ( vtkDataArray * array,
vtkMTimeType buildTime )

Record array as the next upload, at the current watermark, and return whether it must be written.

Besides arrays modified after buildTime, that includes an array that replaced the one written last time, which can be older than the buffer contents.

Member Data Documentation

◆ Buffer

WGPUBuffer vtkWebGPUPolyDataMapper::AttributeBuffer::Buffer = nullptr

Definition at line 489 of file vtkWebGPUPolyDataMapper.h.

◆ Size

uint64_t vtkWebGPUPolyDataMapper::AttributeBuffer::Size = 0

Definition at line 490 of file vtkWebGPUPolyDataMapper.h.

◆ Watermark

uint64_t vtkWebGPUPolyDataMapper::AttributeBuffer::Watermark = 0

Definition at line 491 of file vtkWebGPUPolyDataMapper.h.

◆ Touched

bool vtkWebGPUPolyDataMapper::AttributeBuffer::Touched = false

Definition at line 492 of file vtkWebGPUPolyDataMapper.h.

◆ Uploads

std::vector<Upload> vtkWebGPUPolyDataMapper::AttributeBuffer::Uploads

Definition at line 501 of file vtkWebGPUPolyDataMapper.h.

◆ NumberOfUploads

std::size_t vtkWebGPUPolyDataMapper::AttributeBuffer::NumberOfUploads = 0

Definition at line 502 of file vtkWebGPUPolyDataMapper.h.


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