Class FramebufferCache

java.lang.Object
icyllis.arc3d.engine.FramebufferCache
All Implemented Interfaces:
AutoCloseable

public class FramebufferCache extends Object implements AutoCloseable
  • Constructor Details

    • FramebufferCache

      public FramebufferCache()
  • Method Details

    • findFramebuffer

      @Nullable @SharedPtr public @SharedPtr Framebuffer findFramebuffer(@Nonnull FramebufferDesc desc)
    • insertFramebuffer

      public void insertFramebuffer(@Nonnull FramebufferDesc desc, @RawPtr @RawPtr Framebuffer framebuffer)
    • purgeAllFramebuffers

      public void purgeAllFramebuffers()
    • purgeFramebuffersNotUsedSince

      public void purgeFramebuffersNotUsedSince(long timeMillis)
    • purgeStaleFramebuffers

      public void purgeStaleFramebuffers()
    • close

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