Package apple.glkit

Class GLKViewController

    • Constructor Detail

      • GLKViewController

        protected GLKViewController​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static java.lang.Object allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attemptRotationToDeviceOrientation

        public static void attemptRotationToDeviceOrientation()
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(java.lang.Object aTarget,
                                                                                 org.moe.natj.objc.SEL aSelector,
                                                                                 java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        public static NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        public static org.moe.natj.objc.Class classForKeyedUnarchiver()
      • clearTextInputContextIdentifier

        public static void clearTextInputContextIdentifier​(java.lang.String identifier)
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • prepareInterstitialAds

        public static void prepareInterstitialAds()
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • framesDisplayed

        public long framesDisplayed()
        The total number of frames displayed since drawing began.
      • framesPerSecond

        public long framesPerSecond()
        The actual frames per second that was decided upon given the value for preferredFramesPerSecond and the screen for which the GLKView resides. The value chosen will be as close to preferredFramesPerSecond as possible, without exceeding the screen's refresh rate. This value does not account for dropped frames, so it is not a measurement of your statistical frames per second. It is the static value for which updates will take place.
      • glkViewDrawInRect

        public void glkViewDrawInRect​(GLKView view,
                                      CGRect rect)
        Description copied from interface: GLKViewDelegate
        Required method for implementing GLKViewDelegate. This draw method variant should be used when not subclassing GLKView. This method will not be called if the GLKView object has been subclassed and implements -(void)drawRect:(CGRect)rect.
        Specified by:
        glkViewDrawInRect in interface GLKViewDelegate
      • initWithNibNameBundle

        public GLKViewController initWithNibNameBundle​(java.lang.String nibNameOrNil,
                                                       NSBundle nibBundleOrNil)
        Description copied from class: UIViewController
        The designated initializer. If you subclass UIViewController, you must call the super implementation of this method, even if you aren't using a NIB. (As a convenience, the default init method will do this for you, and specify nil for both of this methods arguments.) In the specified NIB, the File's Owner proxy should have its class set to your view controller subclass, with the view outlet connected to the main view. If you invoke this method with a nil nib name, then this class' -loadView method will attempt to load a NIB whose name is the same as your view controller's class. If no such NIB in fact exists then you must either call -setView: before -view is invoked, or override the -loadView method to set up your views programatically.
        Overrides:
        initWithNibNameBundle in class UIViewController
      • isPaused

        public boolean isPaused()
        Used to pause and resume the controller.
      • setPaused

        public void setPaused​(boolean value)
        Used to pause and resume the controller.
      • pauseOnWillResignActive

        public boolean pauseOnWillResignActive()
        If true, the controller will pause when the application recevies a willResignActive notification. If false, the controller will not pause and it is expected that some other mechanism will pause the controller when necessary. The default is true.
      • preferredFramesPerSecond

        public long preferredFramesPerSecond()
        For setting the desired frames per second at which the update and drawing will take place. The default is 30.
      • resumeOnDidBecomeActive

        public boolean resumeOnDidBecomeActive()
        If true, the controller will resume when the application recevies a didBecomeActive notification. If false, the controller will not resume and it is expected that some other mechanism will resume the controller when necessary. The default is true.
      • setPauseOnWillResignActive

        public void setPauseOnWillResignActive​(boolean value)
        If true, the controller will pause when the application recevies a willResignActive notification. If false, the controller will not pause and it is expected that some other mechanism will pause the controller when necessary. The default is true.
      • setPreferredFramesPerSecond

        public void setPreferredFramesPerSecond​(long value)
        For setting the desired frames per second at which the update and drawing will take place. The default is 30.
      • setResumeOnDidBecomeActive

        public void setResumeOnDidBecomeActive​(boolean value)
        If true, the controller will resume when the application recevies a didBecomeActive notification. If false, the controller will not resume and it is expected that some other mechanism will resume the controller when necessary. The default is true.
      • timeSinceFirstResume

        public double timeSinceFirstResume()
        Time interval since properties.
      • timeSinceLastDraw

        public double timeSinceLastDraw()
      • timeSinceLastResume

        public double timeSinceLastResume()
      • timeSinceLastUpdate

        public double timeSinceLastUpdate()