Skip to content
ChillingVan edited this page Nov 7, 2016 · 7 revisions

Welcome to the android-openGL-canvas wiki!

The Usage of the codes:

  • OffScreenCanvas, see the OffScreenActivity for more detail.
        OffScreenCanvas offScreenCanvas = new OffScreenCanvas(400, 400) {
            @Override
            protected void onGLDraw(ICanvasGL canvas) {
               //draw things
            }
        };
        offScreenCanvas.start();
        // call offScreenCanvas.getDrawingBitmap to fetch bitmap
Clone this wiki locally