public void Delete() { GraphicsContext.DeleteShader(this.vertexID); GraphicsContext.DeleteShader(this.fragmentID); GraphicsContext.DeleteProgram(this.Handle); }
public void DeleteShader(int id) { forwarding.DeleteShader(id); CheckGLError(); GLCALLS++; }