Example #1
0
 protected IShader11 LoadShader11(string shaderFileName)
 {
     return(ShaderCache.LoadShader11(Path.Combine(ShaderDataFilePath, shaderFileName)));
 }
Example #2
0
 protected IShader11 CompileShader11(string shaderFileName, string profile, string entryPoint = "main", string macroDefinitions = null)
 {
     return(ShaderCache.CompileShader11(Path.Combine(ShaderDataFilePath, shaderFileName), profile, entryPoint, macroDefinitions));
 }
Example #3
0
 protected IKernel CompileClKernel(string sourceFileName, string entryPoint, string options = null)
 {
     return(ShaderCache.CompileClKernel(Path.Combine(ShaderDataFilePath, sourceFileName), entryPoint, options));
 }
Example #4
0
 protected RenderChain()
 {
     ShaderCache.Load();
 }