SharpDX compile shaders

Viewed 1357

How to compile vertex and pixel shaders at build time in SharpDX? The way you can read about in "Direct3D Rendering Cookbook" is to use HLSLCompiler.CompileFromFile. This will compile shaders at runtime, which is not always good.

2 Answers
Related