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

    • field_56737

      private static int field_56737
      Mappings:
      Namespace Name Mixin selector
      named field_56737 Lnet/minecraft/client/gl/Framebuffer;field_56737:I
      intermediary field_56737 Lnet/minecraft/class_276;field_56737:I
      official a Lfie;a:I
    • field_31901

      private static final int field_31901
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31901 Lnet/minecraft/client/gl/Framebuffer;field_31901:I
      intermediary field_31901 Lnet/minecraft/class_276;field_31901:I
      official b Lfie;b:I
    • field_31902

      private static final int field_31902
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31902 Lnet/minecraft/client/gl/Framebuffer;field_31902:I
      intermediary field_31902 Lnet/minecraft/class_276;field_31902:I
      official m Lfie;m:I
    • field_31903

      private static final int field_31903
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31903 Lnet/minecraft/client/gl/Framebuffer;field_31903:I
      intermediary field_31903 Lnet/minecraft/class_276;field_31903:I
      official n Lfie;n:I
    • field_31904

      private static final int field_31904
      See Also:
      Mappings:
      Namespace Name Mixin selector
      named field_31904 Lnet/minecraft/client/gl/Framebuffer;field_31904:I
      intermediary field_31904 Lnet/minecraft/class_276;field_31904:I
      official o Lfie;o: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 Lfie;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 Lfie;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 Lfie;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 Lfie;f:I
    • field_56738

      protected final String field_56738
      Mappings:
      Namespace Name Mixin selector
      named field_56738 Lnet/minecraft/client/gl/Framebuffer;field_56738:Ljava/lang/String;
      intermediary field_56738 Lnet/minecraft/class_276;field_56738:Ljava/lang/String;
      official g Lfie;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 Lfie;h:Z
    • fbo

      public int fbo
      Mappings:
      Namespace Name Mixin selector
      named fbo Lnet/minecraft/client/gl/Framebuffer;fbo:I
      intermediary field_1476 Lnet/minecraft/class_276;field_1476:I
      official i Lfie;i:I
    • colorAttachment

      @Nullable protected @Nullable class_10792 colorAttachment
      Mappings:
      Namespace Name Mixin selector
      named colorAttachment Lnet/minecraft/client/gl/Framebuffer;colorAttachment:Lnet/minecraft/class_10792;
      intermediary field_1475 Lnet/minecraft/class_276;field_1475:Lnet/minecraft/class_10792;
      official j Lfie;j:Lfjr;
    • field_56739

      @Nullable protected @Nullable class_10792 field_56739
      Mappings:
      Namespace Name Mixin selector
      named field_56739 Lnet/minecraft/client/gl/Framebuffer;field_56739:Lnet/minecraft/class_10792;
      intermediary field_56739 Lnet/minecraft/class_276;field_56739:Lnet/minecraft/class_10792;
      official k Lfie;k:Lfjr;
    • clearColor

      private final float[] clearColor
      Mappings:
      Namespace Name Mixin selector
      named clearColor Lnet/minecraft/client/gl/Framebuffer;clearColor:[F
      intermediary field_1479 Lnet/minecraft/class_276;field_1479:[F
      official p Lfie;p:[F
    • texFilter

      public class_10791 texFilter
      Mappings:
      Namespace Name Mixin selector
      named texFilter Lnet/minecraft/client/gl/Framebuffer;texFilter:Lnet/minecraft/class_10791;
      intermediary field_1483 Lnet/minecraft/class_276;field_1483:Lnet/minecraft/class_10791;
      official l Lfie;l:Lfjq;
  • Constructor Details

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

      public void setTexFilter(class_10791 class_10791)
      Mappings:
      Namespace Name Mixin selector
      named setTexFilter Lnet/minecraft/client/gl/Framebuffer;setTexFilter(Lnet/minecraft/class_10791;)V
      intermediary method_58226 Lnet/minecraft/class_276;method_58226(Lnet/minecraft/class_10791;)V
      official a Lfie;a(Lfjq;)V
    • setTexFilter

      private void setTexFilter(class_10791 class_10791, boolean force)
      Mappings:
      Namespace Name Mixin selector
      named setTexFilter Lnet/minecraft/client/gl/Framebuffer;setTexFilter(Lnet/minecraft/class_10791;Z)V
      intermediary method_1232 Lnet/minecraft/class_276;method_1232(Lnet/minecraft/class_10791;Z)V
      official a Lfie;a(Lfjq;Z)V
    • checkFramebufferStatus

      public void checkFramebufferStatus()
      Mappings:
      Namespace Name Mixin selector
      named checkFramebufferStatus Lnet/minecraft/client/gl/Framebuffer;checkFramebufferStatus()V
      intermediary method_1239 Lnet/minecraft/class_276;method_1239()V
      official b Lfie;b()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 c Lfie;c()V
    • beginWrite

      public void beginWrite(boolean setViewport)
      Mappings:
      Namespace Name Mixin selector
      named beginWrite Lnet/minecraft/client/gl/Framebuffer;beginWrite(Z)V
      intermediary method_1235 Lnet/minecraft/class_276;method_1235(Z)V
      official a Lfie;a(Z)V
    • endWrite

      public void endWrite()
      Mappings:
      Namespace Name Mixin selector
      named endWrite Lnet/minecraft/client/gl/Framebuffer;endWrite()V
      intermediary method_1240 Lnet/minecraft/class_276;method_1240()V
      official d Lfie;d()V
    • setClearColor

      public void setClearColor(float r, float g, float b, float a)
      Mappings:
      Namespace Name Mixin selector
      named setClearColor Lnet/minecraft/client/gl/Framebuffer;setClearColor(FFFF)V
      intermediary method_1236 Lnet/minecraft/class_276;method_1236(FFFF)V
      official a Lfie;a(FFFF)V
    • draw

      public void draw(int width, int height)
      Mappings:
      Namespace Name Mixin selector
      named draw Lnet/minecraft/client/gl/Framebuffer;draw(II)V
      intermediary method_1237 Lnet/minecraft/class_276;method_1237(II)V
      official c Lfie;c(II)V
    • drawInternal

      public void drawInternal()
      Mappings:
      Namespace Name Mixin selector
      named drawInternal Lnet/minecraft/client/gl/Framebuffer;drawInternal()V
      intermediary method_1233 Lnet/minecraft/class_276;method_1233()V
      official e Lfie;e()V
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/gl/Framebuffer;clear()V
      intermediary method_1230 Lnet/minecraft/class_276;method_1230()V
      official f Lfie;f()V
    • clear

      public void clear(float red, float green, float blue, float alpha)
      Mappings:
      Namespace Name Mixin selector
      named clear Lnet/minecraft/client/gl/Framebuffer;clear(FFFF)V
      intermediary method_66511 Lnet/minecraft/class_276;method_66511(FFFF)V
      official b Lfie;b(FFFF)V
    • getColorAttachment

      @Nullable public @Nullable class_10792 getColorAttachment()
      Mappings:
      Namespace Name Mixin selector
      named getColorAttachment Lnet/minecraft/client/gl/Framebuffer;getColorAttachment()Lnet/minecraft/class_10792;
      intermediary method_30277 Lnet/minecraft/class_276;method_30277()Lnet/minecraft/class_10792;
      official g Lfie;g()Lfjr;
    • getDepthAttachment

      @Nullable public @Nullable class_10792 getDepthAttachment()
      Mappings:
      Namespace Name Mixin selector
      named getDepthAttachment Lnet/minecraft/client/gl/Framebuffer;getDepthAttachment()Lnet/minecraft/class_10792;
      intermediary method_30278 Lnet/minecraft/class_276;method_30278()Lnet/minecraft/class_10792;
      official h Lfie;h()Lfjr;