Using OpenGL

Guillaume Piolat via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Sep 5 03:57:04 PDT 2016


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.


More information about the Digitalmars-d-learn mailing list