Package net.minecraft.client.gl
Class Framebuffer
java.lang.Object
net.minecraft.client.gl.Framebuffer
- Direct Known Subclasses:
SimpleFramebuffer
,WindowFramebuffer
- Mappings:
Namespace Name named net/minecraft/client/gl/Framebuffer
intermediary net/minecraft/class_276
official eym
-
Field Summary
Modifier and TypeFieldDescriptionprivate final float[]
protected int
protected int
int
private static final int
private static final int
private static final int
private static final int
int
int
int
final boolean
int
int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
beginWrite
(boolean setViewport) private void
bind
(boolean updateViewport) void
void
clear
(boolean getError) void
copyDepthFrom
(Framebuffer framebuffer) void
delete()
void
draw
(int width, int height) void
draw
(int width, int height, boolean disableBlend) private void
drawInternal
(int width, int height, boolean disableBlend) void
endRead()
void
endWrite()
int
int
void
initFbo
(int width, int height, boolean getError) void
resize
(int width, int height, boolean getError) private void
resizeInternal
(int width, int height, boolean getError) void
setClearColor
(float r, float g, float b, float a) void
setTexFilter
(int texFilter) private void
setTexFilter
(int texFilter, boolean force)
-
Field Details
-
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 a
Leym;a: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 b
Leym;b: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 l
Leym;l: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 m
Leym;m: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
Leym;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
Leym;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
Leym;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
Leym;f:I
-
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 g
Leym;g: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 h
Leym;h:I
-
colorAttachment
protected int colorAttachment- Mappings:
Namespace Name Mixin selector named colorAttachment
Lnet/minecraft/client/gl/Framebuffer;colorAttachment:I
intermediary field_1475
Lnet/minecraft/class_276;field_1475:I
official i
Leym;i:I
-
depthAttachment
protected int depthAttachment- Mappings:
Namespace Name Mixin selector named depthAttachment
Lnet/minecraft/client/gl/Framebuffer;depthAttachment:I
intermediary field_1474
Lnet/minecraft/class_276;field_1474:I
official j
Leym;j:I
-
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 n
Leym;n:[F
-
texFilter
public int texFilter- Mappings:
Namespace Name Mixin selector named texFilter
Lnet/minecraft/client/gl/Framebuffer;texFilter:I
intermediary field_1483
Lnet/minecraft/class_276;field_1483:I
official k
Leym;k:I
-
-
Constructor Details
-
Framebuffer
public Framebuffer(boolean useDepth) - Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/client/gl/Framebuffer;<init>(Z)V
intermediary <init>
Lnet/minecraft/class_276;<init>(Z)V
official <init>
Leym;<init>(Z)V
-
-
Method Details
-
resize
public void resize(int width, int height, boolean getError) - Mappings:
Namespace Name Mixin selector named resize
Lnet/minecraft/client/gl/Framebuffer;resize(IIZ)V
intermediary method_1234
Lnet/minecraft/class_276;method_1234(IIZ)V
official a
Leym;a(IIZ)V
-
resizeInternal
private void resizeInternal(int width, int height, boolean getError) - Mappings:
Namespace Name Mixin selector named resizeInternal
Lnet/minecraft/client/gl/Framebuffer;resizeInternal(IIZ)V
intermediary method_22596
Lnet/minecraft/class_276;method_22596(IIZ)V
official d
Leym;d(IIZ)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
Leym;a()V
-
copyDepthFrom
- 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
Leym;a(Leym;)V
-
initFbo
public void initFbo(int width, int height, boolean getError) - Mappings:
Namespace Name Mixin selector named initFbo
Lnet/minecraft/client/gl/Framebuffer;initFbo(IIZ)V
intermediary method_1231
Lnet/minecraft/class_276;method_1231(IIZ)V
official b
Leym;b(IIZ)V
-
setTexFilter
public void setTexFilter(int texFilter) - Mappings:
Namespace Name Mixin selector named setTexFilter
Lnet/minecraft/client/gl/Framebuffer;setTexFilter(I)V
intermediary method_58226
Lnet/minecraft/class_276;method_58226(I)V
official a
Leym;a(I)V
-
setTexFilter
private void setTexFilter(int texFilter, boolean force) - Mappings:
Namespace Name Mixin selector named setTexFilter
Lnet/minecraft/client/gl/Framebuffer;setTexFilter(IZ)V
intermediary method_1232
Lnet/minecraft/class_276;method_1232(IZ)V
official a
Leym;a(IZ)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
Leym;b()V
-
beginRead
public void beginRead()- Mappings:
Namespace Name Mixin selector named beginRead
Lnet/minecraft/client/gl/Framebuffer;beginRead()V
intermediary method_35610
Lnet/minecraft/class_276;method_35610()V
official c
Leym;c()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 d
Leym;d()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
Leym;a(Z)V
-
bind
private void bind(boolean updateViewport) - Mappings:
Namespace Name Mixin selector named bind
Lnet/minecraft/client/gl/Framebuffer;bind(Z)V
intermediary method_22595
Lnet/minecraft/class_276;method_22595(Z)V
official c
Leym;c(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 e
Leym;e()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
Leym;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 a
Leym;a(II)V
-
draw
public void draw(int width, int height, boolean disableBlend) - Mappings:
Namespace Name Mixin selector named draw
Lnet/minecraft/client/gl/Framebuffer;draw(IIZ)V
intermediary method_22594
Lnet/minecraft/class_276;method_22594(IIZ)V
official c
Leym;c(IIZ)V
-
drawInternal
private void drawInternal(int width, int height, boolean disableBlend) - Mappings:
Namespace Name Mixin selector named drawInternal
Lnet/minecraft/client/gl/Framebuffer;drawInternal(IIZ)V
intermediary method_1233
Lnet/minecraft/class_276;method_1233(IIZ)V
official e
Leym;e(IIZ)V
-
clear
public void clear(boolean getError) - Mappings:
Namespace Name Mixin selector named clear
Lnet/minecraft/client/gl/Framebuffer;clear(Z)V
intermediary method_1230
Lnet/minecraft/class_276;method_1230(Z)V
official b
Leym;b(Z)V
-
getColorAttachment
public int getColorAttachment()- Mappings:
Namespace Name Mixin selector named getColorAttachment
Lnet/minecraft/client/gl/Framebuffer;getColorAttachment()I
intermediary method_30277
Lnet/minecraft/class_276;method_30277()I
official f
Leym;f()I
-
getDepthAttachment
public int getDepthAttachment()- Mappings:
Namespace Name Mixin selector named getDepthAttachment
Lnet/minecraft/client/gl/Framebuffer;getDepthAttachment()I
intermediary method_30278
Lnet/minecraft/class_276;method_30278()I
official g
Leym;g()I
-