Package icyllis.arc3d.granite

# Class DrawAtlas.AtlasGenerationCounter

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

Direct Known Subclasses:
  `GlyphAtlasManager`

Enclosing class:
  `DrawAtlas`

public static class DrawAtlas.AtlasGenerationCounter extends Object
Keep track of generation number for atlases and Plots.

- ## Field Summary

  Fields
  Modifier and Type
  Field
  Description
  `static final long`
  `INVALID_GENERATION`
  `static final long`
  `MAX_GENERATION`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `AtlasGenerationCounter()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `long`
  `next()`
  Returns next valid generation number.

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

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

- ## Field Details

  - ### INVALID_GENERATION

    public static final long INVALID_GENERATION
    See Also:
      - Constant Field Values

  - ### MAX_GENERATION

    public static final long MAX_GENERATION
    See Also:
      - Constant Field Values

- ## Constructor Details

  - ### AtlasGenerationCounter

    public AtlasGenerationCounter()

- ## Method Details

  - ### next

    public long next()
    Returns next valid generation number.