Esempio n. 1
0
 /// <summary>
 /// Attach shader object.
 /// </summary>
 /// <param name="shader">Specifies the shader object to attach.</param>
 public void Attach(Shader shader)
 {
     GL.AttachShader(Handle, shader.Handle);
 }
Esempio n. 2
0
 /// <summary>
 /// Detach shader object.
 /// </summary>
 /// <param name="shader">Specifies the shader object to detach.</param>
 public void Detach(Shader shader)
 {
     GL.DetachShader(Handle, shader.Handle);
 }