On Sunday, 26 May 2019 at 18:14:23 UTC, Jacob Carlborg wrote:
No, that's not possible.

Some hacky solutions are possible by importing a source file as a string and parsing it manually. dglsl actually extracts D function code to put into glsl shaders. Here's the snippet. See: https://github.com/icecocoa6/dglsl/blob/master/source/dglsl/translator.d#L140

Reply via email to