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

      @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 Lfmq;i:Lcom/mojang/blaze3d/textures/GpuTexture;
    • colorAttachmentView

      @Nullable protected @Nullable GpuTextureView colorAttachmentView
      Mappings:
      Namespace Name Mixin selector
      named colorAttachmentView Lnet/minecraft/client/gl/Framebuffer;colorAttachmentView:Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary field_60567 Lnet/minecraft/class_276;field_60567:Lcom/mojang/blaze3d/textures/GpuTextureView;
      official j Lfmq;j:Lcom/mojang/blaze3d/textures/GpuTextureView;
    • depthAttachment

      @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 k Lfmq;k:Lcom/mojang/blaze3d/textures/GpuTexture;
    • depthAttachmentView

      @Nullable protected @Nullable GpuTextureView depthAttachmentView
      Mappings:
      Namespace Name Mixin selector
      named depthAttachmentView Lnet/minecraft/client/gl/Framebuffer;depthAttachmentView:Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary field_60568 Lnet/minecraft/class_276;field_60568:Lcom/mojang/blaze3d/textures/GpuTextureView;
      official l Lfmq;l:Lcom/mojang/blaze3d/textures/GpuTextureView;
    • filterMode

      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 m Lfmq;m:Lcom/mojang/blaze3d/textures/FilterMode;
  • 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> Lfmq;<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 Lfmq;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 Lfmq;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 Lfmq;a(Lfmq;)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 Lfmq;b(II)V
    • setFilter

      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 Lfmq;a(Lcom/mojang/blaze3d/textures/FilterMode;)V
    • setFilter

      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 Lfmq;a(Lcom/mojang/blaze3d/textures/FilterMode;Z)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 b Lfmq;b()V
    • drawBlit

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

      @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 Lfmq;c()Lcom/mojang/blaze3d/textures/GpuTexture;
    • getColorAttachmentView

      @Nullable public @Nullable GpuTextureView getColorAttachmentView()
      Mappings:
      Namespace Name Mixin selector
      named getColorAttachmentView Lnet/minecraft/client/gl/Framebuffer;getColorAttachmentView()Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary method_71639 Lnet/minecraft/class_276;method_71639()Lcom/mojang/blaze3d/textures/GpuTextureView;
      official d Lfmq;d()Lcom/mojang/blaze3d/textures/GpuTextureView;
    • getDepthAttachment

      @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 e Lfmq;e()Lcom/mojang/blaze3d/textures/GpuTexture;
    • getDepthAttachmentView

      @Nullable public @Nullable GpuTextureView getDepthAttachmentView()
      Mappings:
      Namespace Name Mixin selector
      named getDepthAttachmentView Lnet/minecraft/client/gl/Framebuffer;getDepthAttachmentView()Lcom/mojang/blaze3d/textures/GpuTextureView;
      intermediary method_71640 Lnet/minecraft/class_276;method_71640()Lcom/mojang/blaze3d/textures/GpuTextureView;
      official f Lfmq;f()Lcom/mojang/blaze3d/textures/GpuTextureView;