Esempio n. 1
0
 public GLSLProgram AttachShaderAndDelete(GLSLShader shader)
 {
     GL.AttachShader(id, shader.ID);
     shader.Dispose();
     return(this);
 }
Esempio n. 2
0
 public GLSLProgram AttachShader(GLSLShader shader)
 {
     GL.AttachShader(id, shader.ID);
     return(this);
 }