示例#1
0
 public ShaderProgram(Shader vertexShader, Shader fragmentShader)
     : this(new List<Shader>() { vertexShader }, new List<Shader>() { fragmentShader })
 {
 }
示例#2
0
 public ShaderProgram(ProgramType programType, Shader vertexShader, Shader fragmentShader)
     : this(programType, new List<Shader>() { vertexShader }, new List<Shader>() { fragmentShader })
 {
 }