Class BoxThreadSync.Logical

java.lang.Object
org.boxutil.config.BoxThreadSync.Logical
Enclosing class:
BoxThreadSync

public static final class BoxThreadSync.Logical extends Object
In rendering loop: rendering... => beginAdvance => [next frame] => finishAdvance => next frame rendering...
  • Method Details

    • beginAdvance

      public static Phaser beginAdvance()
    • offerBeginAdvanceDelayGLCmd

      public static void offerBeginAdvanceDelayGLCmd(Runnable cmd, boolean inCampaign)
      Submits OpenGL command packets to the deferred execution queue associated with the specified barrier point.

      These packets are executed on the main thread during the relevant phase.

      The execution order of the packets in the queue should not be assumed to be the same as the order in which they were enqueued.

      Parameters:
      inCampaign - true if in campaign, otherwise false if in combat.
    • beginPoolCompact

      public static Phaser beginPoolCompact()
    • beginInstanceCompute

      public static Phaser beginInstanceCompute()
    • finishAdvance

      public static Phaser finishAdvance()