Ejemplo n.º 1
0
 protected IShader11 LoadShader11(string shaderFileName)
 {
     return(ShaderCache.LoadShader11(Path.Combine(ShaderDataFilePath, shaderFileName)));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 3
0
 protected IKernel CompileClKernel(string sourceFileName, string entryPoint, string options = null)
 {
     return(ShaderCache.CompileClKernel(Path.Combine(ShaderDataFilePath, sourceFileName), entryPoint, options));
 }
Ejemplo n.º 4
0
 protected RenderChain()
 {
     ShaderCache.Load();
 }