Class FrameBufferCache
java.lang.Object
com.mojang.blaze3d.opengl.FrameBufferCache
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final it.unimi.dsi.fastutil.objects.Object2IntMap<FrameBufferCache.CacheKey> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate intcreateFbo(FrameBufferCache.CacheKey key, DirectStateAccess dsa, List<@Nullable FrameBufferAttachment> colorAttachments, @Nullable FrameBufferAttachment depthAttachment) voidintgetFbo(DirectStateAccess dsa, List<@Nullable FrameBufferAttachment> colorTextures, @Nullable FrameBufferAttachment depthTexture)
-
Field Details
-
cache
-
-
Constructor Details
-
FrameBufferCache
public FrameBufferCache()
-
-
Method Details
-
getFbo
public int getFbo(DirectStateAccess dsa, List<@Nullable FrameBufferAttachment> colorTextures, @Nullable FrameBufferAttachment depthTexture) -
createFbo
private int createFbo(FrameBufferCache.CacheKey key, DirectStateAccess dsa, List<@Nullable FrameBufferAttachment> colorAttachments, @Nullable FrameBufferAttachment depthAttachment) -
destroyFbo
-