protected override void onCreate(global::android.os.Bundle savedInstanceState)
        {
            base.onCreate(savedInstanceState);
            this.ToFullscreen();

            mGLSurfaceView = new GLSurfaceView(this);


            // Request an OpenGL ES 2.0 compatible context.
            mGLSurfaceView.setEGLContextClientVersion(2);

            // Set the renderer to our demo renderer, defined below.
            mGLSurfaceView.setRenderer(new LessonFourRenderer(this));


            setContentView(mGLSurfaceView);

            this.ShowLongToast("http://my.jsc-solutions.net");
        }
Exemplo n.º 2
0
        protected override void onCreate(global::android.os.Bundle savedInstanceState)
        {
            base.onCreate(savedInstanceState);



            glSurfaceView = new GLSurfaceView(this);

            // http://www.learnopengles.com/android-emulator-now-supports-native-opengl-es2-0/


            //we definitely want a GLES 2 context
            glSurfaceView.setEGLContextClientVersion(2);
            //and create our own renderer
            glSurfaceView.setRenderer(new Lesson01Renderer(this));

            setContentView(glSurfaceView);


            this.ShowToast("http://jsc-solutions.net");
        }