Package org.cocos2dx.lib

Examples of org.cocos2dx.lib.Cocos2dxGLSurfaceView


import org.cocos2dx.lib.Cocos2dxGLSurfaceView;

public class EngineDemo extends Cocos2dxActivity {
   
    public Cocos2dxGLSurfaceView onCreateView() {
        Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this);
        // TestCpp should create stencil buffer
        glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8);
       
        return glSurfaceView;
    }
View Full Code Here


public class HelloCocos3D extends Cocos2dxActivity
{
    public Cocos2dxGLSurfaceView onCreateView()
    {
        Cocos2dxGLSurfaceView glSurfaceView = new Cocos2dxGLSurfaceView(this);
        // TestCpp should create stencil buffer
        glSurfaceView.setEGLConfigChooser(5, 6, 5, 0, 16, 8);
       
        return glSurfaceView;
    }
View Full Code Here

TOP

Related Classes of org.cocos2dx.lib.Cocos2dxGLSurfaceView

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.