Examples of Cocos2dxGLSurfaceView


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

Examples of org.cocos2dx.lib.Cocos2dxGLSurfaceView

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
Copyright © 2018 www.massapi.com. 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.