Module sdf

Module sdf 

Source
Expand description

GPU-accelerated SDF (Signed Distance Field) computation.

This module provides GPU-accelerated computation of signed distance fields from triangle meshes. It uses WGPU compute shaders for parallel processing.

Structs§

GpuSdfParams
Parameters for GPU SDF computation.
GpuSdfResult
Result of GPU SDF computation.
SdfPipeline
Pipeline for GPU SDF computation.

Functions§

compute_sdf_gpu
Compute SDF on GPU with automatic fallback.
try_compute_sdf_gpu
Try to compute SDF on GPU, returning None if GPU is unavailable.