Package com.mojang.blaze3d.textures
Class GpuTextureView
java.lang.Object
com.mojang.blaze3d.textures.GpuTextureView
- All Implemented Interfaces:
AutoCloseable
- Direct Known Subclasses:
GlTextureView
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
texture
-
baseMipLevel
private final int baseMipLevel -
mipLevels
private final int mipLevels
-
-
Constructor Details
-
GpuTextureView
-
-
Method Details
-
close
public abstract void close()- Specified by:
close
in interfaceAutoCloseable
-
texture
-
baseMipLevel
public int baseMipLevel() -
mipLevels
public int mipLevels() -
getWidth
public int getWidth(int pMipLevel) -
getHeight
public int getHeight(int pMipLevel) -
isClosed
public abstract boolean isClosed()
-