Blender has algorithms to generate mesh surfaces for a fluid simulation.
Is there an API to use this algorithm with other data? For example, is it possible to mesh a surface based on a volume shader (like shown below) or based on the density of a particle system?
Related question - How to create a procedural volume and use it with the new Volume to Mesh Modifier?
An approach that gets close, but does not solve the question.
In Blender 2.92 there is a 'Volume to Mesh' modifier. Using it an OpenVDB volume can be converted into an isosurface. The animation below shows the result of generating a smoke simulation, saving the cache as using OpenVDB, then loading the OpenVDB and using it a reference for the 'Volume to Mesh' modifier.
What is missing is the ability to use a volume texture to do the same thing.


