nexus_viewer3d 0.4.0

Viewer for 3D GPU physics demos with nexus.
1
2
3
4
5
6
7
8
9
10
11
12
13
#[derive(Copy, Clone, Debug, PartialEq, Eq)]
pub enum BackendType {
    /// GPU-accelerated physics using nexus + WebGPU.
    Gpu,
    /// CPU physics using nexus (same pipeline as GPU, executed on CPU).
    Cpu,
    /// GPU-accelerated physics using nexus + CUDA.
    #[cfg(feature = "cuda")]
    Cuda,
    /// GPU-accelerated physics using nexus + native Metal (macOS only).
    #[cfg(feature = "metal")]
    Metal,
}