Expand description
GPU Compute Buffer Layouts, Raw Curve Representations, and Compute Dispatchers.
Structs§
- Curve
Compute Dispatcher - High-performance CPU dispatcher and simulator matching the WGSL compute pipeline layout.
- GpuPath
Segment - 64-byte aligned output quadratic segment produced by compute shaders or CPU fallback.
- GpuPath
Uniforms - 16-byte aligned Uniform Buffer object for path compute operations.
- RawCurve
Input - 64-byte aligned raw cubic curve input data fed into WebGPU compute pipelines.
Constants§
- FLAG_
CLOSED - Flag indicating that the path segment is closed.
- FLAG_
EVEN_ ODD - Flag indicating Even-Odd fill rule (default is Non-Zero winding rule).
- FLAG_
FILL - Flag indicating that the path segment belongs to a filled polygon / region.
- FLAG_
STROKE - Flag indicating that the path segment is stroked with a line width.