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 fjs
  • Field Details

    • index

      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 Lfjs;a:I
    • textureWidth

      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 Lfjs;c:I
    • textureHeight

      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 Lfjs;d:I
    • viewportWidth

      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 Lfjs;e:I
    • viewportHeight

      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 Lfjs;f:I
    • name

      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 Lfjs;g:Ljava/lang/String;
    • useDepthAttachment

      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 Lfjs;h:Z
    • colorAttachment

      @Nullable protected @Nullable DrawableTexture colorAttachment
      Mappings:
      Namespace Name Mixin selector
      named colorAttachment Lnet/minecraft/client/gl/Framebuffer;colorAttachment:Lnet/minecraft/client/texture/DrawableTexture;
      intermediary field_1475 Lnet/minecraft/class_276;field_1475:Lnet/minecraft/class_10792;
      official i Lfjs;i:Lflj;
    • depthAttachment

      @Nullable protected @Nullable DrawableTexture depthAttachment
      Mappings:
      Namespace Name Mixin selector
      named depthAttachment Lnet/minecraft/client/gl/Framebuffer;depthAttachment:Lnet/minecraft/client/texture/DrawableTexture;
      intermediary field_56739 Lnet/minecraft/class_276;field_56739:Lnet/minecraft/class_10792;
      official j Lfjs;j:Lflj;
    • texFilter

      public FilteredTexture texFilter
      Mappings:
      Namespace Name Mixin selector
      named texFilter Lnet/minecraft/client/gl/Framebuffer;texFilter:Lnet/minecraft/client/texture/FilteredTexture;
      intermediary field_1483 Lnet/minecraft/class_276;field_1483:Lnet/minecraft/class_10791;
      official k Lfjs;k:Lfli;
  • Constructor Details

    • Framebuffer

      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> Lfjs;<init>(Ljava/lang/String;Z)V
  • Method Details

    • resize

      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 Lfjs;a(II)V
    • delete

      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 Lfjs;a()V
    • copyDepthFrom

      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 Lfjs;a(Lfjs;)V
    • initFbo

      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 Lfjs;b(II)V
    • setTexFilter

      public void setTexFilter(FilteredTexture filter)
      Mappings:
      Namespace Name Mixin selector
      named setTexFilter Lnet/minecraft/client/gl/Framebuffer;setTexFilter(Lnet/minecraft/client/texture/FilteredTexture;)V
      intermediary method_58226 Lnet/minecraft/class_276;method_58226(Lnet/minecraft/class_10791;)V
      official a Lfjs;a(Lfli;)V
    • setTexFilter

      private void setTexFilter(FilteredTexture filter, boolean force)
      Mappings:
      Namespace Name Mixin selector
      named setTexFilter Lnet/minecraft/client/gl/Framebuffer;setTexFilter(Lnet/minecraft/client/texture/FilteredTexture;Z)V
      intermediary method_1232 Lnet/minecraft/class_276;method_1232(Lnet/minecraft/class_10791;Z)V
      official a Lfjs;a(Lfli;Z)V
    • endRead

      public void endRead()
      Mappings:
      Namespace Name Mixin selector
      named endRead Lnet/minecraft/client/gl/Framebuffer;endRead()V
      intermediary method_1242 Lnet/minecraft/class_276;method_1242()V
      official b Lfjs;b()V
    • blitToScreen

      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 c Lfjs;c()V
    • blitToTexture

      public void blitToTexture(DrawableTexture texture)
      Mappings:
      Namespace Name Mixin selector
      named blitToTexture Lnet/minecraft/client/gl/Framebuffer;blitToTexture(Lnet/minecraft/client/texture/DrawableTexture;)V
      intermediary method_68445 Lnet/minecraft/class_276;method_68445(Lnet/minecraft/class_10792;)V
      official a Lfjs;a(Lflj;)V
    • getColorAttachment

      @Nullable public @Nullable DrawableTexture getColorAttachment()
      Mappings:
      Namespace Name Mixin selector
      named getColorAttachment Lnet/minecraft/client/gl/Framebuffer;getColorAttachment()Lnet/minecraft/client/texture/DrawableTexture;
      intermediary method_30277 Lnet/minecraft/class_276;method_30277()Lnet/minecraft/class_10792;
      official d Lfjs;d()Lflj;
    • getDepthAttachment

      @Nullable public @Nullable DrawableTexture getDepthAttachment()
      Mappings:
      Namespace Name Mixin selector
      named getDepthAttachment Lnet/minecraft/client/gl/Framebuffer;getDepthAttachment()Lnet/minecraft/client/texture/DrawableTexture;
      intermediary method_30278 Lnet/minecraft/class_276;method_30278()Lnet/minecraft/class_10792;
      official e Lfjs;e()Lflj;