Class Framebuffer

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

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

    • textureWidth

      public int textureWidth
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a:I
      intermediary field_4476 Lnet/minecraft/class_1040;field_4476:I
      named textureWidth Lnet/minecraft/client/gl/Framebuffer;textureWidth:I
    • textureHeight

      public int textureHeight
      Mappings:
      Namespace Name Mixin selector
      official b Lbfw;b:I
      intermediary field_4477 Lnet/minecraft/class_1040;field_4477:I
      named textureHeight Lnet/minecraft/client/gl/Framebuffer;textureHeight:I
    • viewportWidth

      public int viewportWidth
      Mappings:
      Namespace Name Mixin selector
      official c Lbfw;c:I
      intermediary field_4478 Lnet/minecraft/class_1040;field_4478:I
      named viewportWidth Lnet/minecraft/client/gl/Framebuffer;viewportWidth:I
    • viewportHeight

      public int viewportHeight
      Mappings:
      Namespace Name Mixin selector
      official d Lbfw;d:I
      intermediary field_4479 Lnet/minecraft/class_1040;field_4479:I
      named viewportHeight Lnet/minecraft/client/gl/Framebuffer;viewportHeight:I
    • useDepthAttachment

      public boolean useDepthAttachment
      Mappings:
      Namespace Name Mixin selector
      official e Lbfw;e:Z
      intermediary field_4480 Lnet/minecraft/class_1040;field_4480:Z
      named useDepthAttachment Lnet/minecraft/client/gl/Framebuffer;useDepthAttachment:Z
    • fbo

      public int fbo
      Mappings:
      Namespace Name Mixin selector
      official f Lbfw;f:I
      intermediary field_4481 Lnet/minecraft/class_1040;field_4481:I
      named fbo Lnet/minecraft/client/gl/Framebuffer;fbo:I
    • colorAttachment

      public int colorAttachment
      Mappings:
      Namespace Name Mixin selector
      official g Lbfw;g:I
      intermediary field_4482 Lnet/minecraft/class_1040;field_4482:I
      named colorAttachment Lnet/minecraft/client/gl/Framebuffer;colorAttachment:I
    • depthAttachment

      public int depthAttachment
      Mappings:
      Namespace Name Mixin selector
      official h Lbfw;h:I
      intermediary field_4483 Lnet/minecraft/class_1040;field_4483:I
      named depthAttachment Lnet/minecraft/client/gl/Framebuffer;depthAttachment:I
    • clearColor

      public float[] clearColor
      Mappings:
      Namespace Name Mixin selector
      official i Lbfw;i:[F
      intermediary field_4484 Lnet/minecraft/class_1040;field_4484:[F
      named clearColor Lnet/minecraft/client/gl/Framebuffer;clearColor:[F
    • texFilter

      public int texFilter
      Mappings:
      Namespace Name Mixin selector
      official j Lbfw;j:I
      intermediary field_4485 Lnet/minecraft/class_1040;field_4485:I
      named texFilter Lnet/minecraft/client/gl/Framebuffer;texFilter:I
  • Constructor Details

    • Framebuffer

      public Framebuffer​(int width, int height, boolean useDepth)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lbfw;<init>(IIZ)V
      intermediary <init> Lnet/minecraft/class_1040;<init>(IIZ)V
      named <init> Lnet/minecraft/client/gl/Framebuffer;<init>(IIZ)V
  • Method Details

    • resize

      public void resize​(int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a(II)V
      intermediary method_3557 Lnet/minecraft/class_1040;method_3557(II)V
      named resize Lnet/minecraft/client/gl/Framebuffer;resize(II)V
    • delete

      public void delete()
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a()V
      intermediary method_3554 Lnet/minecraft/class_1040;method_3554()V
      named delete Lnet/minecraft/client/gl/Framebuffer;delete()V
    • attachTexture

      public void attachTexture​(int width, int height)
      Mappings:
      Namespace Name Mixin selector
      official b Lbfw;b(II)V
      intermediary method_3561 Lnet/minecraft/class_1040;method_3561(II)V
      named attachTexture Lnet/minecraft/client/gl/Framebuffer;attachTexture(II)V
    • setTexFilter

      public void setTexFilter​(int texFilter)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a(I)V
      intermediary method_3556 Lnet/minecraft/class_1040;method_3556(I)V
      named setTexFilter Lnet/minecraft/client/gl/Framebuffer;setTexFilter(I)V
    • checkFramebufferStatus

      public void checkFramebufferStatus()
      Mappings:
      Namespace Name Mixin selector
      official b Lbfw;b()V
      intermediary method_3560 Lnet/minecraft/class_1040;method_3560()V
      named checkFramebufferStatus Lnet/minecraft/client/gl/Framebuffer;checkFramebufferStatus()V
    • beginRead

      public void beginRead()
      Mappings:
      Namespace Name Mixin selector
      official c Lbfw;c()V
      intermediary method_3562 Lnet/minecraft/class_1040;method_3562()V
      named beginRead Lnet/minecraft/client/gl/Framebuffer;beginRead()V
    • endRead

      public void endRead()
      Mappings:
      Namespace Name Mixin selector
      official d Lbfw;d()V
      intermediary method_3564 Lnet/minecraft/class_1040;method_3564()V
      named endRead Lnet/minecraft/client/gl/Framebuffer;endRead()V
    • bind

      public void bind​(boolean viewPort)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a(Z)V
      intermediary method_3559 Lnet/minecraft/class_1040;method_3559(Z)V
      named bind Lnet/minecraft/client/gl/Framebuffer;bind(Z)V
    • endWrite

      public void endWrite()
      Mappings:
      Namespace Name Mixin selector
      official e Lbfw;e()V
      intermediary method_3565 Lnet/minecraft/class_1040;method_3565()V
      named endWrite Lnet/minecraft/client/gl/Framebuffer;endWrite()V
    • setClearColor

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

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

      public void drawInternal​(int width, int height, boolean colorMaterial)
      Mappings:
      Namespace Name Mixin selector
      official a Lbfw;a(IIZ)V
      intermediary method_3558 Lnet/minecraft/class_1040;method_3558(IIZ)V
      named drawInternal Lnet/minecraft/client/gl/Framebuffer;drawInternal(IIZ)V
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      official f Lbfw;f()V
      intermediary method_3566 Lnet/minecraft/class_1040;method_3566()V
      named clear Lnet/minecraft/client/gl/Framebuffer;clear()V