示例#1
0
 protected IKernel CompileClKernel(string sourceFileName, string entryPoint, string options = null)
 {
     return(ShaderCache.CompileClKernel(Path.Combine(ShaderDataFilePath, sourceFileName), entryPoint, options));
 }
示例#2
0
 protected IShaderFilterSettings <IKernel> CompileClKernel(string sourceFileName, string entryPoint, string options = null)
 {
     return(ShaderCache.CompileClKernel(Path.Combine(ShaderDataFilePath, sourceFileName), entryPoint, options).Configure());
 }