TheFuseLab / VL.Fuse

A library for visually programming on the GPU, built to enable rapid workflows and modular approaches to accelerated graphics, logic and computation.
https://www.thefuselab.io
MIT License
269 stars 21 forks source link

Not all combinations of `GpuValue<T>` work when connecting any `T` #56

Closed azeno closed 1 year ago

azeno commented 3 years ago

We need a good fallback option here https://github.com/TheFuseLab/VL.Fuse/blob/develop/src/Fuse/Monadic.cs#L30

Currently it throws an exception, some sort of warning would be better.

Example patch can be found at https://discourse.vvvv.org/t/some-nodes-hide-render-windows/19951/3 where a Spread<Vector2> gets connected to a GpuValue<Spread<Vector2>> grafik

texone commented 2 years ago

Any suggestions on how to achieve this?