Class GpuTextureView

java.lang.Object
com.mojang.blaze3d.textures.GpuTextureView
All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
GlTextureView

public abstract class GpuTextureView extends Object implements AutoCloseable
  • Field Details

    • texture

      private final GpuTexture texture
    • baseMipLevel

      private final int baseMipLevel
    • mipLevels

      private final int mipLevels
  • Constructor Details

    • GpuTextureView

      public GpuTextureView(GpuTexture pTexture, int pBaseMipLevel, int pMipLevels)
  • Method Details

    • close

      public abstract void close()
      Specified by:
      close in interface AutoCloseable
    • texture

      public GpuTexture 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()