Package 

Interface FrameTicker


  • 
    public interface FrameTicker
    
                        

    A way of getting frame callbacks every vsync.

    • Method Summary

      Modifier and Type Method Description
      abstract Unit withFrame(Function1<Long, Unit> onFrame)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • withFrame

         abstract Unit withFrame(Function1<Long, Unit> onFrame)
        Parameters:
        onFrame - A callback that is invoked each vsync with the frame time in nanoseconds.