Cargo Features

[dependencies]
mesh_to_sdf_client = { version = "0.4.1", default-features = false, features = ["webgl", "webgpu"] }
webgl

wgpu::DownlevelFlags::VERTEX_STORAGE is not supported on WebGL

Enables webgl of wgpu ^0.20.1

default = webgpu

The webgpu feature is set by default whenever mesh_to_sdf_client is added without default-features = false somewhere in the dependency tree.

webgpu default

Enables wgsl of wgpu ^0.20.1

wgpu:

Enable accepting WGSL shaders as input.