Package icyllis.arc3d.engine

# Class FramebufferCache

java.lang.Object
icyllis.arc3d.engine.FramebufferCache

All Implemented Interfaces:
  `AutoCloseable`

public class FramebufferCache extends Object implements AutoCloseable

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `FramebufferCache()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `close()`
  `@SharedPtr Framebuffer`
  `findFramebuffer(FramebufferDesc desc)`
  `void`
  `insertFramebuffer(FramebufferDesc desc, @RawPtr Framebuffer framebuffer)`
  `void`
  `purgeAllFramebuffers()`
  `void`
  `purgeFramebuffersNotUsedSince(long timeMillis)`
  `void`
  `purgeStaleFramebuffers()`

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

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

- ## 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`