示例#1
0
        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();
        }
示例#2
0
 private void SurfaceView_ContextDestroying(object sender, GlSurfaceViewEventArgs e)
 {
     Es2_ContextDestroying();
 }
示例#3
0
 private void SurfaceView_ContextCreated(object sender, GlSurfaceViewEventArgs e)
 {
     Es2_ContextCreated();
 }