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§
- GpuSdf
Params - Parameters for GPU SDF computation.
- GpuSdf
Result - 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.