private void SurfaceView_Render(object sender, GlSurfaceViewEventArgs e) { GLSurfaceView glSurfaceView = (GLSurfaceView)sender; Gl.Viewport(0, 0, glSurfaceView.Width, glSurfaceView.Height); Gl.ClearColor(0.0f, 0.0f, 0.0f, 1.0f); Gl.Clear(ClearBufferMask.ColorBufferBit); Es2_Render(); }
private void SurfaceView_ContextDestroying(object sender, GlSurfaceViewEventArgs e) { Es2_ContextDestroying(); }
private void SurfaceView_ContextCreated(object sender, GlSurfaceViewEventArgs e) { Es2_ContextCreated(); }