Interface IRenderTargetPresentable

    • Method Detail

      • getRenderingSize

        android.util.Size getRenderingSize()
        Get render surface size
        Returns:
        size of the rendering viewport
      • getFrameTimeNanos

        long getFrameTimeNanos()
        Get the drawing time of the current frame
        Returns:
        frame drawing time in nanoseconds
      • present

        void present​(WindowSurface windowSurface,
                     android.graphics.Rect renderingRect)
        Draw frame on surface
        Parameters:
        windowSurface - the surface on which the frame will be drawn
        renderingRect - scaling and positioning the frame on the surface
      • present

        void present()
        Display frame on attached surface