Package icyllis.arc3d.granite

# Class DrawAtlas.AtlasTokenTracker

java.lang.Object
icyllis.arc3d.granite.DrawAtlas.AtlasTokenTracker

Enclosing class:
  `DrawAtlas`

public static class DrawAtlas.AtlasTokenTracker extends Object
The TokenTracker encapsulates the incrementing and distribution of AtlasTokens.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AtlasTokenTracker()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `issueFlushToken()`
  `long`
  `nextFlushToken()`
  Gets the token one beyond the last token that has been flushed, either in GrDrawingManager::flush() or Device::flushPendingWorkToRecorder()

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### AtlasTokenTracker

    public AtlasTokenTracker()

- ## Method Details

  - ### nextFlushToken

    public long nextFlushToken()
    Gets the token one beyond the last token that has been flushed, either in GrDrawingManager::flush() or Device::flushPendingWorkToRecorder()

  - ### issueFlushToken

    public void issueFlushToken()