Beispiel #1
0
 protected IShader11 CompileShader11(string shaderFileName, string entryPoint, string profile)
 {
     return(ShaderCache <IShader11> .CompileShader(Path.Combine(ShaderDataFilePath, shaderFileName),
                                                   s => Renderer.CompileShader11(s, entryPoint, profile)));
 }
Beispiel #2
0
 protected IShader CompileShader(string shaderFileName)
 {
     return(ShaderCache <IShader> .CompileShader(Path.Combine(ShaderDataFilePath, shaderFileName),
                                                 s => Renderer.CompileShader(s)));
 }