Ejemplo n.º 1
0
 protected virtual void OnContextCreated(GLContextEventArgs e)
 {
     if (this.ContextCreated != null)
         this.ContextCreated(this, e);
 }
Ejemplo n.º 2
0
 private void GLControl2_Render(object sender, GLContextEventArgs e)
 {
     e.Context.Clear(ClearBufferMask.ColorBufferBit | ClearBufferMask.DepthBufferBit);
 }
Ejemplo n.º 3
0
 protected virtual void OnRender(GLContextEventArgs e)
 {
     if (this.Render != null)
         this.Render(this, e);
 }
Ejemplo n.º 4
0
 private void GLControl2_ContextCreated(object sender, GLContextEventArgs e)
 {
     e.Context.ClearColor(0, 1.0f, 0, 1.0f);
 }