Class SamplerCache

java.lang.Object
net.minecraft.client.gl.SamplerCache

@Environment(CLIENT) public class SamplerCache extends Object
Mappings:
Namespace Name
named net/minecraft/client/gl/SamplerCache
intermediary net/minecraft/class_12136
official fwo
  • Field Details

    • samplers

      private final GpuSampler[] samplers
      Mappings:
      Namespace Name Mixin selector
      named samplers Lnet/minecraft/client/gl/SamplerCache;samplers:[Lnet/minecraft/client/gl/GpuSampler;
      intermediary field_63453 Lnet/minecraft/class_12136;field_63453:[Lnet/minecraft/class_12137;
      official a Lfwo;a:[Lfws;
  • Constructor Details

    • SamplerCache

      public SamplerCache()
  • Method Details

    • init

      public void init()
      Mappings:
      Namespace Name Mixin selector
      named init Lnet/minecraft/client/gl/SamplerCache;init()V
      intermediary method_75292 Lnet/minecraft/class_12136;method_75292()V
      official a Lfwo;a()V
    • get

      public GpuSampler get(AddressMode addressModeU, AddressMode addressModeV, FilterMode minFilterMode, FilterMode magFilterMode)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/gl/SamplerCache;get(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)Lnet/minecraft/client/gl/GpuSampler;
      intermediary method_75293 Lnet/minecraft/class_12136;method_75293(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)Lnet/minecraft/class_12137;
      official a Lfwo;a(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)Lfws;
    • get

      public GpuSampler get(FilterMode filterMode)
      Mappings:
      Namespace Name Mixin selector
      named get Lnet/minecraft/client/gl/SamplerCache;get(Lcom/mojang/blaze3d/textures/FilterMode;)Lnet/minecraft/client/gl/GpuSampler;
      intermediary method_75294 Lnet/minecraft/class_12136;method_75294(Lcom/mojang/blaze3d/textures/FilterMode;)Lnet/minecraft/class_12137;
      official a Lfwo;a(Lcom/mojang/blaze3d/textures/FilterMode;)Lfws;
    • getRepeated

      public GpuSampler getRepeated(FilterMode filterMode)
      Mappings:
      Namespace Name Mixin selector
      named getRepeated Lnet/minecraft/client/gl/SamplerCache;getRepeated(Lcom/mojang/blaze3d/textures/FilterMode;)Lnet/minecraft/client/gl/GpuSampler;
      intermediary method_75297 Lnet/minecraft/class_12136;method_75297(Lcom/mojang/blaze3d/textures/FilterMode;)Lnet/minecraft/class_12137;
      official b Lfwo;b(Lcom/mojang/blaze3d/textures/FilterMode;)Lfws;
    • close

      public void close()
      Mappings:
      Namespace Name Mixin selector
      named close Lnet/minecraft/client/gl/SamplerCache;close()V
      intermediary method_75295 Lnet/minecraft/class_12136;method_75295()V
      official b Lfwo;b()V
    • toIndex

      static int toIndex(AddressMode addressModeU, AddressMode addressModeV, FilterMode minFilterMode, FilterMode magFilterMode)
      Mappings:
      Namespace Name Mixin selector
      named toIndex Lnet/minecraft/client/gl/SamplerCache;toIndex(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)I
      intermediary method_75296 Lnet/minecraft/class_12136;method_75296(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)I
      official b Lfwo;b(Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/AddressMode;Lcom/mojang/blaze3d/textures/FilterMode;Lcom/mojang/blaze3d/textures/FilterMode;)I