Class Framebuffer

java.lang.Object
net.minecraft.client.gl.Framebuffer
Direct Known Subclasses:
SimpleFramebuffer, WindowFramebuffer

@Environment(CLIENT) public abstract class Framebuffer extends Object
Mappings:
Namespace Name
named net/minecraft/client/gl/Framebuffer
intermediary net/minecraft/class_276
official fjr
  • Field Details Link icon

    • index Link icon

      private static int index
      Mappings:
      Namespace Name Mixin selector
      named index Lnet/minecraft/client/gl/Framebuffer;index:I
      intermediary field_56737 Lnet/minecraft/class_276;field_56737:I
      official a Lfjr;a:I
    • textureWidth Link icon

      public int textureWidth
      Mappings:
      Namespace Name Mixin selector
      named textureWidth Lnet/minecraft/client/gl/Framebuffer;textureWidth:I
      intermediary field_1482 Lnet/minecraft/class_276;field_1482:I
      official c Lfjr;c:I
    • textureHeight Link icon

      public int textureHeight
      Mappings:
      Namespace Name Mixin selector
      named textureHeight Lnet/minecraft/client/gl/Framebuffer;textureHeight:I
      intermediary field_1481 Lnet/minecraft/class_276;field_1481:I
      official d Lfjr;d:I
    • viewportWidth Link icon

      public int viewportWidth
      Mappings:
      Namespace Name Mixin selector
      named viewportWidth Lnet/minecraft/client/gl/Framebuffer;viewportWidth:I
      intermediary field_1480 Lnet/minecraft/class_276;field_1480:I
      official e Lfjr;e:I
    • viewportHeight Link icon

      public int viewportHeight
      Mappings:
      Namespace Name Mixin selector
      named viewportHeight Lnet/minecraft/client/gl/Framebuffer;viewportHeight:I
      intermediary field_1477 Lnet/minecraft/class_276;field_1477:I
      official f Lfjr;f:I
    • name Link icon

      protected final String name
      Mappings:
      Namespace Name Mixin selector
      named name Lnet/minecraft/client/gl/Framebuffer;name:Ljava/lang/String;
      intermediary field_56738 Lnet/minecraft/class_276;field_56738:Ljava/lang/String;
      official g Lfjr;g:Ljava/lang/String;
    • useDepthAttachment Link icon

      public final boolean useDepthAttachment
      Mappings:
      Namespace Name Mixin selector
      named useDepthAttachment Lnet/minecraft/client/gl/Framebuffer;useDepthAttachment:Z
      intermediary field_1478 Lnet/minecraft/class_276;field_1478:Z
      official h Lfjr;h:Z
    • colorAttachment Link icon

      @Nullable protected @Nullable GpuTexture colorAttachment
      Mappings:
      Namespace Name Mixin selector
      named colorAttachment Lnet/minecraft/client/gl/Framebuffer;colorAttachment:Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary field_1475 Lnet/minecraft/class_276;field_1475:Lcom/mojang/blaze3d/textures/GpuTexture;
      official i Lfjr;i:Lcom/mojang/blaze3d/textures/GpuTexture;
    • depthAttachment Link icon

      @Nullable protected @Nullable GpuTexture depthAttachment
      Mappings:
      Namespace Name Mixin selector
      named depthAttachment Lnet/minecraft/client/gl/Framebuffer;depthAttachment:Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary field_56739 Lnet/minecraft/class_276;field_56739:Lcom/mojang/blaze3d/textures/GpuTexture;
      official j Lfjr;j:Lcom/mojang/blaze3d/textures/GpuTexture;
    • filterMode Link icon

      public FilterMode filterMode
      Mappings:
      Namespace Name Mixin selector
      named filterMode Lnet/minecraft/client/gl/Framebuffer;filterMode:Lcom/mojang/blaze3d/textures/FilterMode;
      intermediary field_1483 Lnet/minecraft/class_276;field_1483:Lcom/mojang/blaze3d/textures/FilterMode;
      official k Lfjr;k:Lcom/mojang/blaze3d/textures/FilterMode;
  • Constructor Details Link icon

    • Framebuffer Link icon

      public Framebuffer(@Nullable @Nullable String name, boolean useDepthAttachment)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/gl/Framebuffer;<init>(Ljava/lang/String;Z)V
      intermediary <init> Lnet/minecraft/class_276;<init>(Ljava/lang/String;Z)V
      official <init> Lfjr;<init>(Ljava/lang/String;Z)V
  • Method Details Link icon

    • resize Link icon

      public void resize(int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named resize Lnet/minecraft/client/gl/Framebuffer;resize(II)V
      intermediary method_1234 Lnet/minecraft/class_276;method_1234(II)V
      official a Lfjr;a(II)V
    • delete Link icon

      public void delete()
      Mappings:
      Namespace Name Mixin selector
      named delete Lnet/minecraft/client/gl/Framebuffer;delete()V
      intermediary method_1238 Lnet/minecraft/class_276;method_1238()V
      official a Lfjr;a()V
    • copyDepthFrom Link icon

      public void copyDepthFrom(Framebuffer framebuffer)
      Mappings:
      Namespace Name Mixin selector
      named copyDepthFrom Lnet/minecraft/client/gl/Framebuffer;copyDepthFrom(Lnet/minecraft/client/gl/Framebuffer;)V
      intermediary method_29329 Lnet/minecraft/class_276;method_29329(Lnet/minecraft/class_276;)V
      official a Lfjr;a(Lfjr;)V
    • initFbo Link icon

      public void initFbo(int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named initFbo Lnet/minecraft/client/gl/Framebuffer;initFbo(II)V
      intermediary method_1231 Lnet/minecraft/class_276;method_1231(II)V
      official b Lfjr;b(II)V
    • setFilter Link icon

      public void setFilter(FilterMode filter)
      Mappings:
      Namespace Name Mixin selector
      named setFilter Lnet/minecraft/client/gl/Framebuffer;setFilter(Lcom/mojang/blaze3d/textures/FilterMode;)V
      intermediary method_58226 Lnet/minecraft/class_276;method_58226(Lcom/mojang/blaze3d/textures/FilterMode;)V
      official a Lfjr;a(Lcom/mojang/blaze3d/textures/FilterMode;)V
    • setFilter Link icon

      private void setFilter(FilterMode filter, boolean force)
      Mappings:
      Namespace Name Mixin selector
      named setFilter Lnet/minecraft/client/gl/Framebuffer;setFilter(Lcom/mojang/blaze3d/textures/FilterMode;Z)V
      intermediary method_1232 Lnet/minecraft/class_276;method_1232(Lcom/mojang/blaze3d/textures/FilterMode;Z)V
      official a Lfjr;a(Lcom/mojang/blaze3d/textures/FilterMode;Z)V
    • blitToScreen Link icon

      public void blitToScreen()
      Mappings:
      Namespace Name Mixin selector
      named blitToScreen Lnet/minecraft/client/gl/Framebuffer;blitToScreen()V
      intermediary method_1237 Lnet/minecraft/class_276;method_1237()V
      official b Lfjr;b()V
    • drawBlit Link icon

      public void drawBlit(GpuTexture texture)
      Mappings:
      Namespace Name Mixin selector
      named drawBlit Lnet/minecraft/client/gl/Framebuffer;drawBlit(Lcom/mojang/blaze3d/textures/GpuTexture;)V
      intermediary method_68445 Lnet/minecraft/class_276;method_68445(Lcom/mojang/blaze3d/textures/GpuTexture;)V
      official a Lfjr;a(Lcom/mojang/blaze3d/textures/GpuTexture;)V
    • getColorAttachment Link icon

      @Nullable public @Nullable GpuTexture getColorAttachment()
      Mappings:
      Namespace Name Mixin selector
      named getColorAttachment Lnet/minecraft/client/gl/Framebuffer;getColorAttachment()Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary method_30277 Lnet/minecraft/class_276;method_30277()Lcom/mojang/blaze3d/textures/GpuTexture;
      official c Lfjr;c()Lcom/mojang/blaze3d/textures/GpuTexture;
    • getDepthAttachment Link icon

      @Nullable public @Nullable GpuTexture getDepthAttachment()
      Mappings:
      Namespace Name Mixin selector
      named getDepthAttachment Lnet/minecraft/client/gl/Framebuffer;getDepthAttachment()Lcom/mojang/blaze3d/textures/GpuTexture;
      intermediary method_30278 Lnet/minecraft/class_276;method_30278()Lcom/mojang/blaze3d/textures/GpuTexture;
      official d Lfjr;d()Lcom/mojang/blaze3d/textures/GpuTexture;