VTK  9.7.20261114
vtkWebGPUContextDevice2D::Private Class Reference

#include <vtkWebGPUContextDevice2DPrivate.h>

Detailed Description

Container for vtkWebGPUContextDevice2D internal state.

Definition at line 109 of file vtkWebGPUContextDevice2DPrivate.h.

Collaboration diagram for vtkWebGPUContextDevice2D::Private:
[legend]

Classes

struct  PipelineConfig
 Configuration parameters for creating or retrieving WebGPU render pipelines. More...
struct  CachedTexture
 Holds WebGPU texture resources and metadata for caching images and text. More...
struct  CachedTextData
 Stores rasterized text images and their bounding box dimensions. More...

Public Attributes

vtkWebGPUConfiguration * Config = nullptr
vtkWebGPURenderPipelineCache * PipelineCache = nullptr
WGPURenderPipeline TrianglePipeline = nullptr
WGPURenderPipeline LinePipeline = nullptr
WGPURenderPipeline TexturedPipeline = nullptr
vtkWebGPULinearAllocator VertexAllocator { "Context2D Dynamic VBO" }
WGPUBuffer ColorBuffer = nullptr
WGPUBuffer MatrixUniformBuffer = nullptr
WGPUBindGroup TransformBindGroup
WGPUPipelineLayout PipelineLayout = nullptr
WGPUVertexBufferLayout VertexBufferLayout
WGPUTexture DummyTexture = nullptr
WGPUTextureView DummyTextureView = nullptr
WGPUSampler DefaultSampler = nullptr
WGPUBindGroup ActiveTextureBindGroup = nullptr
WGPUBindGroupLayout BindGroupLayout = nullptr
std::unordered_map< vtkImageData *, CachedTexture > ImageCache
std::unordered_map< std::string, CachedTexture > TextCache
std::unordered_map< std::string, CachedTextData > TextImageCache
std::vector< float > BatchedVertices
WGPURenderPipeline CurrentBatchPipeline = nullptr
WGPUBindGroup CurrentBatchBindGroup = nullptr
bool ClippingEnabled = false
int ClipRect [4] = { 0, 0, 0, 0 }
bool MatricesDirty = true

Member Data Documentation

◆ Config

vtkWebGPUConfiguration* vtkWebGPUContextDevice2D::Private::Config = nullptr

Definition at line 112 of file vtkWebGPUContextDevice2DPrivate.h.

◆ PipelineCache

vtkWebGPURenderPipelineCache* vtkWebGPUContextDevice2D::Private::PipelineCache = nullptr

Definition at line 113 of file vtkWebGPUContextDevice2DPrivate.h.

◆ TrianglePipeline

WGPURenderPipeline vtkWebGPUContextDevice2D::Private::TrianglePipeline = nullptr

Definition at line 154 of file vtkWebGPUContextDevice2DPrivate.h.

◆ LinePipeline

WGPURenderPipeline vtkWebGPUContextDevice2D::Private::LinePipeline = nullptr

Definition at line 155 of file vtkWebGPUContextDevice2DPrivate.h.

◆ TexturedPipeline

WGPURenderPipeline vtkWebGPUContextDevice2D::Private::TexturedPipeline = nullptr

Definition at line 156 of file vtkWebGPUContextDevice2DPrivate.h.

◆ VertexAllocator

vtkWebGPULinearAllocator vtkWebGPUContextDevice2D::Private::VertexAllocator { "Context2D Dynamic VBO" }

Definition at line 158 of file vtkWebGPUContextDevice2DPrivate.h.

◆ ColorBuffer

WGPUBuffer vtkWebGPUContextDevice2D::Private::ColorBuffer = nullptr

Definition at line 159 of file vtkWebGPUContextDevice2DPrivate.h.

◆ MatrixUniformBuffer

WGPUBuffer vtkWebGPUContextDevice2D::Private::MatrixUniformBuffer = nullptr

Definition at line 160 of file vtkWebGPUContextDevice2DPrivate.h.

◆ TransformBindGroup

WGPUBindGroup vtkWebGPUContextDevice2D::Private::TransformBindGroup

Definition at line 161 of file vtkWebGPUContextDevice2DPrivate.h.

◆ PipelineLayout

WGPUPipelineLayout vtkWebGPUContextDevice2D::Private::PipelineLayout = nullptr

Definition at line 162 of file vtkWebGPUContextDevice2DPrivate.h.

◆ VertexBufferLayout

WGPUVertexBufferLayout vtkWebGPUContextDevice2D::Private::VertexBufferLayout

Definition at line 163 of file vtkWebGPUContextDevice2DPrivate.h.

◆ DummyTexture

WGPUTexture vtkWebGPUContextDevice2D::Private::DummyTexture = nullptr

Definition at line 165 of file vtkWebGPUContextDevice2DPrivate.h.

◆ DummyTextureView

WGPUTextureView vtkWebGPUContextDevice2D::Private::DummyTextureView = nullptr

Definition at line 166 of file vtkWebGPUContextDevice2DPrivate.h.

◆ DefaultSampler

WGPUSampler vtkWebGPUContextDevice2D::Private::DefaultSampler = nullptr

Definition at line 167 of file vtkWebGPUContextDevice2DPrivate.h.

◆ ActiveTextureBindGroup

WGPUBindGroup vtkWebGPUContextDevice2D::Private::ActiveTextureBindGroup = nullptr

Definition at line 168 of file vtkWebGPUContextDevice2DPrivate.h.

◆ BindGroupLayout

WGPUBindGroupLayout vtkWebGPUContextDevice2D::Private::BindGroupLayout = nullptr

Definition at line 169 of file vtkWebGPUContextDevice2DPrivate.h.

◆ ImageCache

std::unordered_map<vtkImageData*, CachedTexture> vtkWebGPUContextDevice2D::Private::ImageCache

Definition at line 171 of file vtkWebGPUContextDevice2DPrivate.h.

◆ TextCache

std::unordered_map<std::string, CachedTexture> vtkWebGPUContextDevice2D::Private::TextCache

Definition at line 172 of file vtkWebGPUContextDevice2DPrivate.h.

◆ TextImageCache

std::unordered_map<std::string, CachedTextData> vtkWebGPUContextDevice2D::Private::TextImageCache

Definition at line 173 of file vtkWebGPUContextDevice2DPrivate.h.

◆ BatchedVertices

std::vector<float> vtkWebGPUContextDevice2D::Private::BatchedVertices

Definition at line 175 of file vtkWebGPUContextDevice2DPrivate.h.

◆ CurrentBatchPipeline

WGPURenderPipeline vtkWebGPUContextDevice2D::Private::CurrentBatchPipeline = nullptr

Definition at line 176 of file vtkWebGPUContextDevice2DPrivate.h.

◆ CurrentBatchBindGroup

WGPUBindGroup vtkWebGPUContextDevice2D::Private::CurrentBatchBindGroup = nullptr

Definition at line 177 of file vtkWebGPUContextDevice2DPrivate.h.

◆ ClippingEnabled

bool vtkWebGPUContextDevice2D::Private::ClippingEnabled = false

Definition at line 179 of file vtkWebGPUContextDevice2DPrivate.h.

◆ ClipRect

int vtkWebGPUContextDevice2D::Private::ClipRect[4] = { 0, 0, 0, 0 }

Definition at line 180 of file vtkWebGPUContextDevice2DPrivate.h.

◆ MatricesDirty

bool vtkWebGPUContextDevice2D::Private::MatricesDirty = true

Definition at line 182 of file vtkWebGPUContextDevice2DPrivate.h.


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