mellinoe / ShaderGen

Proof-of-concept library for generating HLSL, GLSL, and Metal shader code from C#,
MIT License
497 stars 56 forks source link

embedding generated shaders as part of the compilation process. #106

Open vpenades opened 3 years ago

vpenades commented 3 years ago

Right now the compiled shaders are generad as content files that are copied to the output bin directory, so the executable can load the shaders from the directory.

Is there a way to tell ShaderGen to treat the generated shaders as embedded resources instead of content files?