On Monday, 5 September 2016 at 05:14:56 UTC, Nicholas Wilson wrote:
On Saturday, 3 September 2016 at 17:13:49 UTC, Darren wrote:

Now I wonder if I can load shaders from separate files (à la http://www.opengl-tutorial.org/beginners-tutorials/tutorial-2-the-first-triangle/).

see:

https://p0nce.github.io/d-idioms/#Embed-a-dynamic-library-in-an-executable

for `import`ing external files at compile time.

It's often useful to be able to reload shaders at runtime.

Reply via email to