Interface VolatileProjector

    • Method Detail

      • map

        boolean map​(boolean clearUntouchedTargetPixels)
        Render the target image.
        Parameters:
        clearUntouchedTargetPixels -
        Returns:
        true if rendering was completed (all target pixels written). false if rendering was interrupted.
      • map

        default boolean map()
      • cancel

        void cancel()
        Abort map() if it is currently running.
      • getLastFrameRenderNanoTime

        long getLastFrameRenderNanoTime()
        How many nano-seconds did the last map() take.
        Returns:
        time needed for rendering the last frame, in nano-seconds.
      • isValid

        boolean isValid()
        Returns:
        true if all mapped pixels were valid.