Package icyllis.arc3d.engine
Class FramebufferCache
java.lang.Object
icyllis.arc3d.engine.FramebufferCache
- All Implemented Interfaces:
AutoCloseable
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
void
insertFramebuffer
(FramebufferDesc desc, @RawPtr Framebuffer framebuffer) void
void
purgeFramebuffersNotUsedSince
(long timeMillis) void
-
Constructor Details
-
FramebufferCache
public FramebufferCache()
-
-
Method Details
-
findFramebuffer
-
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 interfaceAutoCloseable
-