Class GlSampler

java.lang.Object
net.minecraft.client.gl.GpuSampler
net.minecraft.client.gl.GlSampler
All Implemented Interfaces:
AutoCloseable

@Environment(CLIENT) public class GlSampler extends GpuSampler
Mappings:
Namespace Name
named net/minecraft/client/gl/GlSampler
intermediary net/minecraft/class_12134
official fux
  • Field Details

    • samplerId

      private final int samplerId
      Mappings:
      Namespace Name Mixin selector
      named samplerId Lnet/minecraft/client/gl/GlSampler;samplerId:I
      intermediary field_63441 Lnet/minecraft/class_12134;field_63441:I
      official a Lfux;a:I
    • addressModeU

      private final AddressMode addressModeU
      Mappings:
      Namespace Name Mixin selector
      named addressModeU Lnet/minecraft/client/gl/GlSampler;addressModeU:Lcom/mojang/blaze3d/textures/AddressMode;
      intermediary field_63442 Lnet/minecraft/class_12134;field_63442:Lcom/mojang/blaze3d/textures/AddressMode;
      official b Lfux;b:Lcom/mojang/blaze3d/textures/AddressMode;
    • addressModeV

      private final AddressMode addressModeV
      Mappings:
      Namespace Name Mixin selector
      named addressModeV Lnet/minecraft/client/gl/GlSampler;addressModeV:Lcom/mojang/blaze3d/textures/AddressMode;
      intermediary field_63443 Lnet/minecraft/class_12134;field_63443:Lcom/mojang/blaze3d/textures/AddressMode;
      official c Lfux;c:Lcom/mojang/blaze3d/textures/AddressMode;
    • minFilterMode

      private final FilterMode minFilterMode
      Mappings:
      Namespace Name Mixin selector
      named minFilterMode Lnet/minecraft/client/gl/GlSampler;minFilterMode:Lcom/mojang/blaze3d/textures/FilterMode;
      intermediary field_63444 Lnet/minecraft/class_12134;field_63444:Lcom/mojang/blaze3d/textures/FilterMode;
      official d Lfux;d:Lcom/mojang/blaze3d/textures/FilterMode;
    • magFilterMode

      private final FilterMode magFilterMode
      Mappings:
      Namespace Name Mixin selector
      named magFilterMode Lnet/minecraft/client/gl/GlSampler;magFilterMode:Lcom/mojang/blaze3d/textures/FilterMode;
      intermediary field_63445 Lnet/minecraft/class_12134;field_63445:Lcom/mojang/blaze3d/textures/FilterMode;
      official e Lfux;e:Lcom/mojang/blaze3d/textures/FilterMode;
    • closed

      private boolean closed
      Mappings:
      Namespace Name Mixin selector
      named closed Lnet/minecraft/client/gl/GlSampler;closed:Z
      intermediary field_63446 Lnet/minecraft/class_12134;field_63446:Z
      official f Lfux;f:Z
  • Constructor Details

    • GlSampler

      public GlSampler(AddressMode addressModeU, AddressMode addressModeV, FilterMode minFilterMode, FilterMode magFilterMode)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/GlSampler;<init>(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)V
      intermediary <init> Lnet/minecraft/class_12134;<init>(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)V
      official <init> Lfux;<init>(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)V
  • Method Details

    • getSamplerId

      public int getSamplerId()
      Mappings:
      Namespace Name Mixin selector
      named getSamplerId Lnet/minecraft/client/gl/GlSampler;getSamplerId()I
      intermediary method_75285 Lnet/minecraft/class_12134;method_75285()I
      official a Lfux;a()I
    • getAddressModeU

      public AddressMode getAddressModeU()
      Specified by:
      getAddressModeU in class GpuSampler
      Mappings:
      Namespace Name Mixin selector
      named getAddressModeU Lnet/minecraft/client/gl/GpuSampler;getAddressModeU()Lcom/mojang/blaze3d/textures/AddressMode;
      intermediary method_75286 Lnet/minecraft/class_12137;method_75286()Lcom/mojang/blaze3d/textures/AddressMode;
      official b Lfws;b()Lcom/mojang/blaze3d/textures/AddressMode;
    • getAddressModeV

      public AddressMode getAddressModeV()
      Specified by:
      getAddressModeV in class GpuSampler
      Mappings:
      Namespace Name Mixin selector
      named getAddressModeV Lnet/minecraft/client/gl/GpuSampler;getAddressModeV()Lcom/mojang/blaze3d/textures/AddressMode;
      intermediary method_75287 Lnet/minecraft/class_12137;method_75287()Lcom/mojang/blaze3d/textures/AddressMode;
      official c Lfws;c()Lcom/mojang/blaze3d/textures/AddressMode;
    • getMinFilterMode

      public FilterMode getMinFilterMode()
      Specified by:
      getMinFilterMode in class GpuSampler
      Mappings:
      Namespace Name Mixin selector
      named getMinFilterMode Lnet/minecraft/client/gl/GpuSampler;getMinFilterMode()Lcom/mojang/blaze3d/textures/FilterMode;
      intermediary method_75288 Lnet/minecraft/class_12137;method_75288()Lcom/mojang/blaze3d/textures/FilterMode;
      official d Lfws;d()Lcom/mojang/blaze3d/textures/FilterMode;
    • getMagFilterMode

      public FilterMode getMagFilterMode()
      Specified by:
      getMagFilterMode in class GpuSampler
      Mappings:
      Namespace Name Mixin selector
      named getMagFilterMode Lnet/minecraft/client/gl/GpuSampler;getMagFilterMode()Lcom/mojang/blaze3d/textures/FilterMode;
      intermediary method_75289 Lnet/minecraft/class_12137;method_75289()Lcom/mojang/blaze3d/textures/FilterMode;
      official e Lfws;e()Lcom/mojang/blaze3d/textures/FilterMode;
    • close

      public void close()
      Specified by:
      close in interface AutoCloseable
      Specified by:
      close in class GpuSampler
    • isClosed

      public boolean isClosed()
      Mappings:
      Namespace Name Mixin selector
      named isClosed Lnet/minecraft/client/gl/GlSampler;isClosed()Z
      intermediary method_75290 Lnet/minecraft/class_12134;method_75290()Z
      official f Lfux;f()Z