类 Framebuffer


  • @Environment(CLIENT)
    public class Framebuffer
    extends Object
    Mappings:
    Namespace Name
    official dnx
    intermediary net/minecraft/class_276
    named net/minecraft/client/gl/Framebuffer
    • 字段详细资料

      • field_31901

        private static final int field_31901
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official i Ldnx;i:I
        intermediary field_31901 Lnet/minecraft/class_276;field_31901:I
        named field_31901 Lnet/minecraft/client/gl/Framebuffer;field_31901:I
      • field_31902

        private static final int field_31902
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official j Ldnx;j:I
        intermediary field_31902 Lnet/minecraft/class_276;field_31902:I
        named field_31902 Lnet/minecraft/client/gl/Framebuffer;field_31902:I
      • field_31903

        private static final int field_31903
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official k Ldnx;k:I
        intermediary field_31903 Lnet/minecraft/class_276;field_31903:I
        named field_31903 Lnet/minecraft/client/gl/Framebuffer;field_31903:I
      • field_31904

        private static final int field_31904
        另请参阅:
        常量字段值
        Mappings:
        Namespace Name Mixin selector
        official l Ldnx;l:I
        intermediary field_31904 Lnet/minecraft/class_276;field_31904:I
        named field_31904 Lnet/minecraft/client/gl/Framebuffer;field_31904:I
      • textureWidth

        public int textureWidth
        Mappings:
        Namespace Name Mixin selector
        official a Ldnx;a:I
        intermediary field_1482 Lnet/minecraft/class_276;field_1482:I
        named textureWidth Lnet/minecraft/client/gl/Framebuffer;textureWidth:I
      • textureHeight

        public int textureHeight
        Mappings:
        Namespace Name Mixin selector
        official b Ldnx;b:I
        intermediary field_1481 Lnet/minecraft/class_276;field_1481:I
        named textureHeight Lnet/minecraft/client/gl/Framebuffer;textureHeight:I
      • viewportWidth

        public int viewportWidth
        Mappings:
        Namespace Name Mixin selector
        official c Ldnx;c:I
        intermediary field_1480 Lnet/minecraft/class_276;field_1480:I
        named viewportWidth Lnet/minecraft/client/gl/Framebuffer;viewportWidth:I
      • viewportHeight

        public int viewportHeight
        Mappings:
        Namespace Name Mixin selector
        official d Ldnx;d:I
        intermediary field_1477 Lnet/minecraft/class_276;field_1477:I
        named viewportHeight Lnet/minecraft/client/gl/Framebuffer;viewportHeight:I
      • useDepthAttachment

        public final boolean useDepthAttachment
        Mappings:
        Namespace Name Mixin selector
        official e Ldnx;e:Z
        intermediary field_1478 Lnet/minecraft/class_276;field_1478:Z
        named useDepthAttachment Lnet/minecraft/client/gl/Framebuffer;useDepthAttachment:Z
      • fbo

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

        private int colorAttachment
        Mappings:
        Namespace Name Mixin selector
        official m Ldnx;m:I
        intermediary field_1475 Lnet/minecraft/class_276;field_1475:I
        named colorAttachment Lnet/minecraft/client/gl/Framebuffer;colorAttachment:I
      • depthAttachment

        private int depthAttachment
        Mappings:
        Namespace Name Mixin selector
        official n Ldnx;n:I
        intermediary field_1474 Lnet/minecraft/class_276;field_1474:I
        named depthAttachment Lnet/minecraft/client/gl/Framebuffer;depthAttachment:I
      • clearColor

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

        public int texFilter
        Mappings:
        Namespace Name Mixin selector
        official h Ldnx;h:I
        intermediary field_1483 Lnet/minecraft/class_276;field_1483:I
        named texFilter Lnet/minecraft/client/gl/Framebuffer;texFilter:I
    • 构造器详细资料

      • Framebuffer

        public Framebuffer​(int width,
                           int height,
                           boolean useDepth,
                           boolean getError)
        Mappings:
        Namespace Name Mixin selector
        official <init> Ldnx;<init>(IIZZ)V
        intermediary <init> Lnet/minecraft/class_276;<init>(IIZZ)V
        named <init> Lnet/minecraft/client/gl/Framebuffer;<init>(IIZZ)V
    • 方法详细资料

      • resize

        public void resize​(int width,
                           int height,
                           boolean getError)
        Mappings:
        Namespace Name Mixin selector
        official a Ldnx;a(IIZ)V
        intermediary method_1234 Lnet/minecraft/class_276;method_1234(IIZ)V
        named resize Lnet/minecraft/client/gl/Framebuffer;resize(IIZ)V
      • resizeInternal

        private void resizeInternal​(int width,
                                    int height,
                                    boolean getError)
        Mappings:
        Namespace Name Mixin selector
        official d Ldnx;d(IIZ)V
        intermediary method_22596 Lnet/minecraft/class_276;method_22596(IIZ)V
        named resizeInternal Lnet/minecraft/client/gl/Framebuffer;resizeInternal(IIZ)V
      • delete

        public void delete()
        Mappings:
        Namespace Name Mixin selector
        official a Ldnx;a()V
        intermediary method_1238 Lnet/minecraft/class_276;method_1238()V
        named delete Lnet/minecraft/client/gl/Framebuffer;delete()V
      • copyDepthFrom

        public void copyDepthFrom​(Framebuffer framebuffer)
        Mappings:
        Namespace Name Mixin selector
        official a Ldnx;a(Ldnx;)V
        intermediary method_29329 Lnet/minecraft/class_276;method_29329(Lnet/minecraft/class_276;)V
        named copyDepthFrom Lnet/minecraft/client/gl/Framebuffer;copyDepthFrom(Lnet/minecraft/client/gl/Framebuffer;)V
      • initFbo

        public void initFbo​(int width,
                            int height,
                            boolean getError)
        Mappings:
        Namespace Name Mixin selector
        official b Ldnx;b(IIZ)V
        intermediary method_1231 Lnet/minecraft/class_276;method_1231(IIZ)V
        named initFbo Lnet/minecraft/client/gl/Framebuffer;initFbo(IIZ)V
      • setTexFilter

        public void setTexFilter​(int int2)
        Mappings:
        Namespace Name Mixin selector
        official a Ldnx;a(I)V
        intermediary method_1232 Lnet/minecraft/class_276;method_1232(I)V
        named setTexFilter Lnet/minecraft/client/gl/Framebuffer;setTexFilter(I)V
      • checkFramebufferStatus

        public void checkFramebufferStatus()
        Mappings:
        Namespace Name Mixin selector
        official b Ldnx;b()V
        intermediary method_1239 Lnet/minecraft/class_276;method_1239()V
        named checkFramebufferStatus Lnet/minecraft/client/gl/Framebuffer;checkFramebufferStatus()V
      • method_35610

        public void method_35610()
        Mappings:
        Namespace Name Mixin selector
        official c Ldnx;c()V
        intermediary method_35610 Lnet/minecraft/class_276;method_35610()V
        named method_35610 Lnet/minecraft/client/gl/Framebuffer;method_35610()V
      • endRead

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

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

        private void bind​(boolean updateViewport)
        Mappings:
        Namespace Name Mixin selector
        official c Ldnx;c(Z)V
        intermediary method_22595 Lnet/minecraft/class_276;method_22595(Z)V
        named bind Lnet/minecraft/client/gl/Framebuffer;bind(Z)V
      • endWrite

        public void endWrite()
        Mappings:
        Namespace Name Mixin selector
        official e Ldnx;e()V
        intermediary method_1240 Lnet/minecraft/class_276;method_1240()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 Ldnx;a(FFFF)V
        intermediary method_1236 Lnet/minecraft/class_276;method_1236(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 a Ldnx;a(II)V
        intermediary method_1237 Lnet/minecraft/class_276;method_1237(II)V
        named draw Lnet/minecraft/client/gl/Framebuffer;draw(II)V
      • draw

        public void draw​(int width,
                         int height,
                         boolean bool)
        Mappings:
        Namespace Name Mixin selector
        official c Ldnx;c(IIZ)V
        intermediary method_22594 Lnet/minecraft/class_276;method_22594(IIZ)V
        named draw Lnet/minecraft/client/gl/Framebuffer;draw(IIZ)V
      • drawInternal

        private void drawInternal​(int width,
                                  int height,
                                  boolean bool)
        Mappings:
        Namespace Name Mixin selector
        official e Ldnx;e(IIZ)V
        intermediary method_1233 Lnet/minecraft/class_276;method_1233(IIZ)V
        named drawInternal Lnet/minecraft/client/gl/Framebuffer;drawInternal(IIZ)V
      • clear

        public void clear​(boolean getError)
        Mappings:
        Namespace Name Mixin selector
        official b Ldnx;b(Z)V
        intermediary method_1230 Lnet/minecraft/class_276;method_1230(Z)V
        named clear Lnet/minecraft/client/gl/Framebuffer;clear(Z)V
      • getColorAttachment

        public int getColorAttachment()
        Mappings:
        Namespace Name Mixin selector
        official f Ldnx;f()I
        intermediary method_30277 Lnet/minecraft/class_276;method_30277()I
        named getColorAttachment Lnet/minecraft/client/gl/Framebuffer;getColorAttachment()I
      • getDepthAttachment

        public int getDepthAttachment()
        Mappings:
        Namespace Name Mixin selector
        official g Ldnx;g()I
        intermediary method_30278 Lnet/minecraft/class_276;method_30278()I
        named getDepthAttachment Lnet/minecraft/client/gl/Framebuffer;getDepthAttachment()I