コード例 #1
0
 public static bool TryCompile(IGL gl, string source, out FragmentShader shader, out string errors)
 {
     return(TryCompile(gl, source, ShaderType.FragmentShader, (g, h) => new FragmentShader(g, h), out shader, out errors));
 }
コード例 #2
0
ファイル: FragmentShader.cs プロジェクト: Zulkir/ObjectGL
 public static bool TryCompile(IGL gl, string source, out FragmentShader shader, out string errors)
 {
     return TryCompile(gl, source, ShaderType.FragmentShader, (g, h) => new FragmentShader(g, h), out shader, out errors);
 }