Class AtlasProvider

java.lang.Object
icyllis.arc3d.granite.AtlasProvider
All Implemented Interfaces:
AutoCloseable

public class AtlasProvider extends Object implements AutoCloseable
AtlasProvider groups various texture atlas management algorithms together.
  • Constructor Details

  • Method Details

    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getGlyphAtlasManager

      public GlyphAtlasManager getGlyphAtlasManager()
      Returns the GlyphAtlasManager that provides access to persistent DrawAtlas instances used in glyph rendering. The GlyphAtlasManager is managed by this object, then the return value is a raw pointer.
    • recordUploads

      public void recordUploads(SurfaceDrawContext sdc)
    • freeGpuResources

      public void freeGpuResources()
    • compact

      public void compact()
    • purge

      public void purge()
    • invalidateAtlases

      public void invalidateAtlases()