Class GpuTextureView

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

@Environment(CLIENT) public abstract class GpuTextureView extends Object implements AutoCloseable
Mappings:
Namespace Name
named com/mojang/blaze3d/textures/GpuTextureView
intermediary com/mojang/blaze3d/textures/GpuTextureView
official com/mojang/blaze3d/textures/GpuTextureView
  • Field Details

    • texture

      private final GpuTexture texture
    • baseMipLevel

      private final int baseMipLevel
    • mipLevels

      private final int mipLevels
  • Constructor Details

    • GpuTextureView

      public GpuTextureView(GpuTexture texture, int baseMipLevel, int mipLevels)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lcom/mojang/blaze3d/textures/GpuTextureView;<init>(Lcom/mojang/blaze3d/textures/GpuTexture;II)V
      intermediary <init> Lcom/mojang/blaze3d/textures/GpuTextureView;<init>(Lcom/mojang/blaze3d/textures/GpuTexture;II)V
      official <init> Lcom/mojang/blaze3d/textures/GpuTextureView;<init>(Lcom/mojang/blaze3d/textures/GpuTexture;II)V
  • 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 mipLevel)
      Mappings:
      Namespace Name Mixin selector
      named getWidth Lcom/mojang/blaze3d/textures/GpuTextureView;getWidth(I)I
      intermediary getWidth Lcom/mojang/blaze3d/textures/GpuTextureView;getWidth(I)I
      official getWidth Lcom/mojang/blaze3d/textures/GpuTextureView;getWidth(I)I
    • getHeight

      public int getHeight(int mipLevel)
      Mappings:
      Namespace Name Mixin selector
      named getHeight Lcom/mojang/blaze3d/textures/GpuTextureView;getHeight(I)I
      intermediary getHeight Lcom/mojang/blaze3d/textures/GpuTextureView;getHeight(I)I
      official getHeight Lcom/mojang/blaze3d/textures/GpuTextureView;getHeight(I)I
    • isClosed

      public abstract boolean isClosed()