Class Framebuffer

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

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

    • textureWidth

      public int textureWidth
      Mappings:
      Namespace Name Mixin selector
      official a Lcul;a:I
      intermediary field_7981 Lnet/minecraft/class_1862;field_7981:I
      named textureWidth Lnet/minecraft/client/gl/Framebuffer;textureWidth:I
    • textureHeight

      public int textureHeight
      Mappings:
      Namespace Name Mixin selector
      official b Lcul;b:I
      intermediary field_7982 Lnet/minecraft/class_1862;field_7982:I
      named textureHeight Lnet/minecraft/client/gl/Framebuffer;textureHeight:I
    • viewportWidth

      public int viewportWidth
      Mappings:
      Namespace Name Mixin selector
      official c Lcul;c:I
      intermediary field_7983 Lnet/minecraft/class_1862;field_7983:I
      named viewportWidth Lnet/minecraft/client/gl/Framebuffer;viewportWidth:I
    • viewportHeight

      public int viewportHeight
      Mappings:
      Namespace Name Mixin selector
      official d Lcul;d:I
      intermediary field_7984 Lnet/minecraft/class_1862;field_7984:I
      named viewportHeight Lnet/minecraft/client/gl/Framebuffer;viewportHeight:I
    • useDepthAttachment

      public boolean useDepthAttachment
      Mappings:
      Namespace Name Mixin selector
      official e Lcul;e:Z
      intermediary field_7985 Lnet/minecraft/class_1862;field_7985:Z
      named useDepthAttachment Lnet/minecraft/client/gl/Framebuffer;useDepthAttachment:Z
    • fbo

      public int fbo
      Mappings:
      Namespace Name Mixin selector
      official f Lcul;f:I
      intermediary field_7986 Lnet/minecraft/class_1862;field_7986:I
      named fbo Lnet/minecraft/client/gl/Framebuffer;fbo:I
    • colorAttachment

      public int colorAttachment
      Mappings:
      Namespace Name Mixin selector
      official g Lcul;g:I
      intermediary field_7987 Lnet/minecraft/class_1862;field_7987:I
      named colorAttachment Lnet/minecraft/client/gl/Framebuffer;colorAttachment:I
    • depthAttachment

      public int depthAttachment
      Mappings:
      Namespace Name Mixin selector
      official h Lcul;h:I
      intermediary field_7988 Lnet/minecraft/class_1862;field_7988:I
      named depthAttachment Lnet/minecraft/client/gl/Framebuffer;depthAttachment:I
    • clearColor

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

      public int texFilter
      Mappings:
      Namespace Name Mixin selector
      official j Lcul;j:I
      intermediary field_7990 Lnet/minecraft/class_1862;field_7990: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> Lcul;<init>(IIZ)V
      intermediary <init> Lnet/minecraft/class_1862;<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 Lcul;a(II)V
      intermediary method_6893 Lnet/minecraft/class_1862;method_6893(II)V
      named resize Lnet/minecraft/client/gl/Framebuffer;resize(II)V
    • delete

      public void delete()
      Mappings:
      Namespace Name Mixin selector
      official a Lcul;a()V
      intermediary method_6890 Lnet/minecraft/class_1862;method_6890()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 Lcul;b(II)V
      intermediary method_6896 Lnet/minecraft/class_1862;method_6896(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 Lcul;a(I)V
      intermediary method_6892 Lnet/minecraft/class_1862;method_6892(I)V
      named setTexFilter Lnet/minecraft/client/gl/Framebuffer;setTexFilter(I)V
    • checkFramebufferStatus

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

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

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

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

      public void endWrite()
      Mappings:
      Namespace Name Mixin selector
      official e Lcul;e()V
      intermediary method_6900 Lnet/minecraft/class_1862;method_6900()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 Lcul;a(FFFF)V
      intermediary method_6891 Lnet/minecraft/class_1862;method_6891(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 Lcul;c(II)V
      intermediary method_6898 Lnet/minecraft/class_1862;method_6898(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 Lcul;a(IIZ)V
      intermediary method_9925 Lnet/minecraft/class_1862;method_9925(IIZ)V
      named drawInternal Lnet/minecraft/client/gl/Framebuffer;drawInternal(IIZ)V
    • clear

      public void clear()
      Mappings:
      Namespace Name Mixin selector
      official f Lcul;f()V
      intermediary method_6901 Lnet/minecraft/class_1862;method_6901()V
      named clear Lnet/minecraft/client/gl/Framebuffer;clear()V