Package org.robovm.apple.glkit

Examples of org.robovm.apple.glkit.GLKView


    app.debug(tag, bounds.width() + "x" + bounds.height() + ", " + UIScreen.getMainScreen().getScale());
    this.gl20 = gl20;

    context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);

    view = new GLKView(new CGRect(new CGPoint(0, 0), bounds), context) {
      @Method(selector = "touchesBegan:withEvent:")
      public void touchesBegan (@Pointer long touches, UIEvent event) {
        IOSGraphics.this.input.touchDown(touches, event);
      }
View Full Code Here


    app.debug(tag, bounds.width() + "x" + bounds.height() + ", " + UIScreen.getMainScreen().getScale());
    this.gl20 = gl20;

    context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);

    view = new GLKView(new CGRect(new CGPoint(0, 0), bounds), context) {
      @Method(selector = "touchesBegan:withEvent:")
      public void touchesBegan (@Pointer long touches, UIEvent event) {
        IOSGraphics.this.input.touchDown(touches, event);
      }
View Full Code Here

    app.debug(tag, bounds.width() + "x" + bounds.height() + ", " + UIScreen.getMainScreen().getScale());
    this.gl20 = gl20;

    context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);

    view = new GLKView(new CGRect(new CGPoint(0, 0), bounds), context) {
      @Method(selector = "touchesBegan:withEvent:")
      public void touchesBegan (@Pointer long touches, UIEvent event) {
        IOSGraphics.this.input.touchDown(touches, event);
      }
View Full Code Here

    app.debug(tag, bounds.width() + "x" + bounds.height() + ", " + UIScreen.getMainScreen().getScale());
    this.gl20 = gl20;

    context = new EAGLContext(EAGLRenderingAPI.OpenGLES2);

    view = new GLKView(new CGRect(new CGPoint(0, 0), bounds), context) {
      @Override
      public void touchesBegan (NSSet<UITouch> touches, UIEvent event) {
        super.touchesBegan(touches, event);
        IOSGraphics.this.input.touchDown(touches, event);
      }
View Full Code Here

TOP

Related Classes of org.robovm.apple.glkit.GLKView

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.