Package net.minecraft.client.gl
Class Framebuffer
java.lang.Object
net.minecraft.client.gl.Framebuffer
- Direct Known Subclasses:
SimpleFramebuffer,WindowFramebuffer
- Mappings:
Namespace Name official edeintermediary net/minecraft/class_276named net/minecraft/client/gl/Framebuffer
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final float[]protected intprotected intintprivate static final intprivate static final intprivate static final intprivate static final intintintintfinal booleanintint -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidbeginWrite(boolean setViewport) private voidbind(boolean updateViewport) voidvoidclear(boolean getError) voidcopyDepthFrom(Framebuffer framebuffer) voiddelete()voiddraw(int width, int height) voiddraw(int width, int height, boolean disableBlend) private voiddrawInternal(int width, int height, boolean disableBlend) voidendRead()voidendWrite()intintvoidinitFbo(int width, int height, boolean getError) voidresize(int width, int height, boolean getError) private voidresizeInternal(int width, int height, boolean getError) voidsetClearColor(float r, float g, float b, float a) voidsetTexFilter(int texFilter)
-
Field Details
-
field_31901
private static final int field_31901- See Also:
- Mappings:
Namespace Name Mixin selector official aLede;a:Iintermediary field_31901Lnet/minecraft/class_276;field_31901:Inamed field_31901Lnet/minecraft/client/gl/Framebuffer;field_31901:I
-
field_31902
private static final int field_31902- See Also:
- Mappings:
Namespace Name Mixin selector official bLede;b:Iintermediary field_31902Lnet/minecraft/class_276;field_31902:Inamed field_31902Lnet/minecraft/client/gl/Framebuffer;field_31902:I
-
field_31903
private static final int field_31903- See Also:
- Mappings:
Namespace Name Mixin selector official lLede;l:Iintermediary field_31903Lnet/minecraft/class_276;field_31903:Inamed field_31903Lnet/minecraft/client/gl/Framebuffer;field_31903:I
-
field_31904
private static final int field_31904- See Also:
- Mappings:
Namespace Name Mixin selector official mLede;m:Iintermediary field_31904Lnet/minecraft/class_276;field_31904:Inamed field_31904Lnet/minecraft/client/gl/Framebuffer;field_31904:I
-
textureWidth
public int textureWidth- Mappings:
Namespace Name Mixin selector official cLede;c:Iintermediary field_1482Lnet/minecraft/class_276;field_1482:Inamed textureWidthLnet/minecraft/client/gl/Framebuffer;textureWidth:I
-
textureHeight
public int textureHeight- Mappings:
Namespace Name Mixin selector official dLede;d:Iintermediary field_1481Lnet/minecraft/class_276;field_1481:Inamed textureHeightLnet/minecraft/client/gl/Framebuffer;textureHeight:I
-
viewportWidth
public int viewportWidth- Mappings:
Namespace Name Mixin selector official eLede;e:Iintermediary field_1480Lnet/minecraft/class_276;field_1480:Inamed viewportWidthLnet/minecraft/client/gl/Framebuffer;viewportWidth:I
-
viewportHeight
public int viewportHeight- Mappings:
Namespace Name Mixin selector official fLede;f:Iintermediary field_1477Lnet/minecraft/class_276;field_1477:Inamed viewportHeightLnet/minecraft/client/gl/Framebuffer;viewportHeight:I
-
useDepthAttachment
public final boolean useDepthAttachment- Mappings:
Namespace Name Mixin selector official gLede;g:Zintermediary field_1478Lnet/minecraft/class_276;field_1478:Znamed useDepthAttachmentLnet/minecraft/client/gl/Framebuffer;useDepthAttachment:Z
-
fbo
public int fbo- Mappings:
Namespace Name Mixin selector official hLede;h:Iintermediary field_1476Lnet/minecraft/class_276;field_1476:Inamed fboLnet/minecraft/client/gl/Framebuffer;fbo:I
-
colorAttachment
protected int colorAttachment- Mappings:
Namespace Name Mixin selector official iLede;i:Iintermediary field_1475Lnet/minecraft/class_276;field_1475:Inamed colorAttachmentLnet/minecraft/client/gl/Framebuffer;colorAttachment:I
-
depthAttachment
protected int depthAttachment- Mappings:
Namespace Name Mixin selector official jLede;j:Iintermediary field_1474Lnet/minecraft/class_276;field_1474:Inamed depthAttachmentLnet/minecraft/client/gl/Framebuffer;depthAttachment:I
-
clearColor
private final float[] clearColor- Mappings:
Namespace Name Mixin selector official nLede;n:[Fintermediary field_1479Lnet/minecraft/class_276;field_1479:[Fnamed clearColorLnet/minecraft/client/gl/Framebuffer;clearColor:[F
-
texFilter
public int texFilter- Mappings:
Namespace Name Mixin selector official kLede;k:Iintermediary field_1483Lnet/minecraft/class_276;field_1483:Inamed texFilterLnet/minecraft/client/gl/Framebuffer;texFilter:I
-
-
Constructor Details
-
Framebuffer
public Framebuffer(boolean useDepth) - Mappings:
Namespace Name Mixin selector official <init>Lede;<init>(Z)Vintermediary <init>Lnet/minecraft/class_276;<init>(Z)Vnamed <init>Lnet/minecraft/client/gl/Framebuffer;<init>(Z)V
-
-
Method Details
-
resize
public void resize(int width, int height, boolean getError) - Mappings:
Namespace Name Mixin selector official aLede;a(IIZ)Vintermediary method_1234Lnet/minecraft/class_276;method_1234(IIZ)Vnamed resizeLnet/minecraft/client/gl/Framebuffer;resize(IIZ)V
-
resizeInternal
private void resizeInternal(int width, int height, boolean getError) - Mappings:
Namespace Name Mixin selector official dLede;d(IIZ)Vintermediary method_22596Lnet/minecraft/class_276;method_22596(IIZ)Vnamed resizeInternalLnet/minecraft/client/gl/Framebuffer;resizeInternal(IIZ)V
-
delete
public void delete()- Mappings:
Namespace Name Mixin selector official aLede;a()Vintermediary method_1238Lnet/minecraft/class_276;method_1238()Vnamed deleteLnet/minecraft/client/gl/Framebuffer;delete()V
-
copyDepthFrom
- Mappings:
Namespace Name Mixin selector official aLede;a(Lede;)Vintermediary method_29329Lnet/minecraft/class_276;method_29329(Lnet/minecraft/class_276;)Vnamed copyDepthFromLnet/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 bLede;b(IIZ)Vintermediary method_1231Lnet/minecraft/class_276;method_1231(IIZ)Vnamed initFboLnet/minecraft/client/gl/Framebuffer;initFbo(IIZ)V
-
setTexFilter
public void setTexFilter(int texFilter) - Mappings:
Namespace Name Mixin selector official aLede;a(I)Vintermediary method_1232Lnet/minecraft/class_276;method_1232(I)Vnamed setTexFilterLnet/minecraft/client/gl/Framebuffer;setTexFilter(I)V
-
checkFramebufferStatus
public void checkFramebufferStatus()- Mappings:
Namespace Name Mixin selector official bLede;b()Vintermediary method_1239Lnet/minecraft/class_276;method_1239()Vnamed checkFramebufferStatusLnet/minecraft/client/gl/Framebuffer;checkFramebufferStatus()V
-
beginRead
public void beginRead()- Mappings:
Namespace Name Mixin selector official cLede;c()Vintermediary method_35610Lnet/minecraft/class_276;method_35610()Vnamed beginReadLnet/minecraft/client/gl/Framebuffer;beginRead()V
-
endRead
public void endRead()- Mappings:
Namespace Name Mixin selector official dLede;d()Vintermediary method_1242Lnet/minecraft/class_276;method_1242()Vnamed endReadLnet/minecraft/client/gl/Framebuffer;endRead()V
-
beginWrite
public void beginWrite(boolean setViewport) - Mappings:
Namespace Name Mixin selector official aLede;a(Z)Vintermediary method_1235Lnet/minecraft/class_276;method_1235(Z)Vnamed beginWriteLnet/minecraft/client/gl/Framebuffer;beginWrite(Z)V
-
bind
private void bind(boolean updateViewport) - Mappings:
Namespace Name Mixin selector official cLede;c(Z)Vintermediary method_22595Lnet/minecraft/class_276;method_22595(Z)Vnamed bindLnet/minecraft/client/gl/Framebuffer;bind(Z)V
-
endWrite
public void endWrite()- Mappings:
Namespace Name Mixin selector official eLede;e()Vintermediary method_1240Lnet/minecraft/class_276;method_1240()Vnamed endWriteLnet/minecraft/client/gl/Framebuffer;endWrite()V
-
setClearColor
public void setClearColor(float r, float g, float b, float a) - Mappings:
Namespace Name Mixin selector official aLede;a(FFFF)Vintermediary method_1236Lnet/minecraft/class_276;method_1236(FFFF)Vnamed setClearColorLnet/minecraft/client/gl/Framebuffer;setClearColor(FFFF)V
-
draw
public void draw(int width, int height) - Mappings:
Namespace Name Mixin selector official aLede;a(II)Vintermediary method_1237Lnet/minecraft/class_276;method_1237(II)Vnamed drawLnet/minecraft/client/gl/Framebuffer;draw(II)V
-
draw
public void draw(int width, int height, boolean disableBlend) - Mappings:
Namespace Name Mixin selector official cLede;c(IIZ)Vintermediary method_22594Lnet/minecraft/class_276;method_22594(IIZ)Vnamed drawLnet/minecraft/client/gl/Framebuffer;draw(IIZ)V
-
drawInternal
private void drawInternal(int width, int height, boolean disableBlend) - Mappings:
Namespace Name Mixin selector official eLede;e(IIZ)Vintermediary method_1233Lnet/minecraft/class_276;method_1233(IIZ)Vnamed drawInternalLnet/minecraft/client/gl/Framebuffer;drawInternal(IIZ)V
-
clear
public void clear(boolean getError) - Mappings:
Namespace Name Mixin selector official bLede;b(Z)Vintermediary method_1230Lnet/minecraft/class_276;method_1230(Z)Vnamed clearLnet/minecraft/client/gl/Framebuffer;clear(Z)V
-
getColorAttachment
public int getColorAttachment()- Mappings:
Namespace Name Mixin selector official fLede;f()Iintermediary method_30277Lnet/minecraft/class_276;method_30277()Inamed getColorAttachmentLnet/minecraft/client/gl/Framebuffer;getColorAttachment()I
-
getDepthAttachment
public int getDepthAttachment()- Mappings:
Namespace Name Mixin selector official gLede;g()Iintermediary method_30278Lnet/minecraft/class_276;method_30278()Inamed getDepthAttachmentLnet/minecraft/client/gl/Framebuffer;getDepthAttachment()I
-