Skip to main content

Module wgpu_2d

Module wgpu_2d 

Source
Expand description

Hardware wgpu 2D, Stencil Clip, Analytical Vector Path, and Slug Text Presenter Pipelines.

Executes crate::gpu_pipeline::Hardware2DFrame batches compiled by crate::gpu_pipeline::UnifiedGpuCollector directly on real wgpu hardware surfaces and offscreen render targets, wiring WGSL_ANALYTICAL_QUAD_SHADER, WGSL_STENCIL_CLIP_SHADER, strata_gpu_path::WGSL_ANALYTICAL_PATH_RASTER_SHADER, and strata_gpu_path::font_shader::WGSL_SLUG_FONT_SHADER.

Structsยง

GpuStencilClipPipeline
Hardware wgpu polygonal/even-odd stencil clip pipeline built from WGSL_STENCIL_CLIP_SHADER.
Wgpu2DRenderer
Hardware wgpu 2D Batch, Stencil Clip, Vector Path, and Slug Text Renderer.