Package com.mojang.blaze3d.opengl
Class GlTextureView
java.lang.Object
com.mojang.blaze3d.textures.GpuTextureView
com.mojang.blaze3d.opengl.GlTextureView
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final intprivate @Nullable it.unimi.dsi.fastutil.ints.Int2IntMapprivate intprivate int -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlTextureView(GlTexture pTexture, int pBaseMipLevel, int pMipLevels) -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()private intcreateFbo(DirectStateAccess pDirectStateAccess, int pId) intgetFbo(DirectStateAccess pDirectStateAccess, @Nullable GpuTexture pTexture) booleanisClosed()texture()Methods inherited from class com.mojang.blaze3d.textures.GpuTextureView
baseMipLevel, getHeight, getWidth, mipLevels
-
Field Details
-
EMPTY
private static final int EMPTY- See Also:
-
closed
private boolean closed -
firstFboId
private int firstFboId -
firstFboDepthId
private int firstFboDepthId -
fboCache
private @Nullable it.unimi.dsi.fastutil.ints.Int2IntMap fboCache
-
-
Constructor Details
-
GlTextureView
-
-
Method Details
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classGpuTextureView
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGpuTextureView
-
getFbo
-
createFbo
-
texture
- Overrides:
texturein classGpuTextureView
-