Class GlTextureView
java.lang.Object
com.mojang.blaze3d.textures.GpuTextureView
com.mojang.blaze3d.opengl.GlTextureView
- All Implemented Interfaces:
FrameBufferAttachment, AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate booleanprivate static final intprivate final List<FrameBufferCache.CacheKey> private final FrameBufferCache -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedGlTextureView(GlTexture texture, int baseMipLevel, int mipLevels, FrameBufferCache frameBufferCache) -
Method Summary
Methods inherited from class GpuTextureView
baseMipLevel, getHeight, getWidth, mipLevels
-
Field Details
-
EMPTY
private static final int EMPTY- See Also:
-
closed
private boolean closed -
frameBufferCache
-
fboKeys
-
-
Constructor Details
-
GlTextureView
protected GlTextureView(GlTexture texture, int baseMipLevel, int mipLevels, FrameBufferCache frameBufferCache)
-
-
Method Details
-
isClosed
public boolean isClosed()- Specified by:
isClosedin classGpuTextureView
-
close
public void close()- Specified by:
closein interfaceAutoCloseable- Specified by:
closein classGpuTextureView
-
texture
- Overrides:
texturein classGpuTextureView
-
glId
public int glId()- Specified by:
glIdin interfaceFrameBufferAttachment
-
fboMipLevel
public int fboMipLevel()- Specified by:
fboMipLevelin interfaceFrameBufferAttachment
-
addAssociatedFbo
- Specified by:
addAssociatedFboin interfaceFrameBufferAttachment
-
removeAssociatedFbo
- Specified by:
removeAssociatedFboin interfaceFrameBufferAttachment
-
hasStencilAspect
public boolean hasStencilAspect()- Specified by:
hasStencilAspectin interfaceFrameBufferAttachment
-