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/Framebufferintermediary net/minecraft/class_276official fwl
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected GpuTextureprotected GpuTextureViewprotected GpuTextureprotected GpuTextureViewprivate static intprotected final Stringintintfinal boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidcopyDepthFrom(Framebuffer framebuffer) voiddelete()voiddrawBlit(GpuTextureView texture) @Nullable GpuTexture@Nullable GpuTextureView@Nullable GpuTexture@Nullable GpuTextureViewvoidinitFbo(int width, int height) voidresize(int width, int height)
-
Field Details
-
index
private static int index- Mappings:
Namespace Name Mixin selector named indexLnet/minecraft/client/gl/Framebuffer;index:Iintermediary field_56737Lnet/minecraft/class_276;field_56737:Iofficial aLfwl;a:I
-
textureWidth
public int textureWidth- Mappings:
Namespace Name Mixin selector named textureWidthLnet/minecraft/client/gl/Framebuffer;textureWidth:Iintermediary field_1482Lnet/minecraft/class_276;field_1482:Iofficial cLfwl;c:I
-
textureHeight
public int textureHeight- Mappings:
Namespace Name Mixin selector named textureHeightLnet/minecraft/client/gl/Framebuffer;textureHeight:Iintermediary field_1481Lnet/minecraft/class_276;field_1481:Iofficial dLfwl;d:I
-
name
- Mappings:
Namespace Name Mixin selector named nameLnet/minecraft/client/gl/Framebuffer;name:Ljava/lang/String;intermediary field_56738Lnet/minecraft/class_276;field_56738:Ljava/lang/String;official eLfwl;e:Ljava/lang/String;
-
useDepthAttachment
public final boolean useDepthAttachment- Mappings:
Namespace Name Mixin selector named useDepthAttachmentLnet/minecraft/client/gl/Framebuffer;useDepthAttachment:Zintermediary field_1478Lnet/minecraft/class_276;field_1478:Zofficial fLfwl;f:Z
-
colorAttachment
- Mappings:
Namespace Name Mixin selector named colorAttachmentLnet/minecraft/client/gl/Framebuffer;colorAttachment:Lcom/mojang/blaze3d/textures/GpuTexture;intermediary field_1475Lnet/minecraft/class_276;field_1475:Lcom/mojang/blaze3d/textures/GpuTexture;official gLfwl;g:Lcom/mojang/blaze3d/textures/GpuTexture;
-
colorAttachmentView
- Mappings:
Namespace Name Mixin selector named colorAttachmentViewLnet/minecraft/client/gl/Framebuffer;colorAttachmentView:Lcom/mojang/blaze3d/textures/GpuTextureView;intermediary field_60567Lnet/minecraft/class_276;field_60567:Lcom/mojang/blaze3d/textures/GpuTextureView;official hLfwl;h:Lcom/mojang/blaze3d/textures/GpuTextureView;
-
depthAttachment
- Mappings:
Namespace Name Mixin selector named depthAttachmentLnet/minecraft/client/gl/Framebuffer;depthAttachment:Lcom/mojang/blaze3d/textures/GpuTexture;intermediary field_56739Lnet/minecraft/class_276;field_56739:Lcom/mojang/blaze3d/textures/GpuTexture;official iLfwl;i:Lcom/mojang/blaze3d/textures/GpuTexture;
-
depthAttachmentView
- Mappings:
Namespace Name Mixin selector named depthAttachmentViewLnet/minecraft/client/gl/Framebuffer;depthAttachmentView:Lcom/mojang/blaze3d/textures/GpuTextureView;intermediary field_60568Lnet/minecraft/class_276;field_60568:Lcom/mojang/blaze3d/textures/GpuTextureView;official jLfwl;j:Lcom/mojang/blaze3d/textures/GpuTextureView;
-
-
Constructor Details
-
Framebuffer
- Mappings:
Namespace Name Mixin selector named <init>Lnet/minecraft/client/gl/Framebuffer;<init>(Ljava/lang/String;Z)Vintermediary <init>Lnet/minecraft/class_276;<init>(Ljava/lang/String;Z)Vofficial <init>Lfwl;<init>(Ljava/lang/String;Z)V
-
-
Method Details
-
resize
public void resize(int width, int height) - Mappings:
Namespace Name Mixin selector named resizeLnet/minecraft/client/gl/Framebuffer;resize(II)Vintermediary method_1234Lnet/minecraft/class_276;method_1234(II)Vofficial aLfwl;a(II)V
-
delete
public void delete()- Mappings:
Namespace Name Mixin selector named deleteLnet/minecraft/client/gl/Framebuffer;delete()Vintermediary method_1238Lnet/minecraft/class_276;method_1238()Vofficial aLfwl;a()V
-
copyDepthFrom
- Mappings:
Namespace Name Mixin selector named copyDepthFromLnet/minecraft/client/gl/Framebuffer;copyDepthFrom(Lnet/minecraft/client/gl/Framebuffer;)Vintermediary method_29329Lnet/minecraft/class_276;method_29329(Lnet/minecraft/class_276;)Vofficial aLfwl;a(Lfwl;)V
-
initFbo
public void initFbo(int width, int height) - Mappings:
Namespace Name Mixin selector named initFboLnet/minecraft/client/gl/Framebuffer;initFbo(II)Vintermediary method_1231Lnet/minecraft/class_276;method_1231(II)Vofficial bLfwl;b(II)V
-
blitToScreen
public void blitToScreen()- Mappings:
Namespace Name Mixin selector named blitToScreenLnet/minecraft/client/gl/Framebuffer;blitToScreen()Vintermediary method_1237Lnet/minecraft/class_276;method_1237()Vofficial bLfwl;b()V
-
drawBlit
- Mappings:
Namespace Name Mixin selector named drawBlitLnet/minecraft/client/gl/Framebuffer;drawBlit(Lcom/mojang/blaze3d/textures/GpuTextureView;)Vintermediary method_68445Lnet/minecraft/class_276;method_68445(Lcom/mojang/blaze3d/textures/GpuTextureView;)Vofficial aLfwl;a(Lcom/mojang/blaze3d/textures/GpuTextureView;)V
-
getColorAttachment
- Mappings:
Namespace Name Mixin selector named getColorAttachmentLnet/minecraft/client/gl/Framebuffer;getColorAttachment()Lcom/mojang/blaze3d/textures/GpuTexture;intermediary method_30277Lnet/minecraft/class_276;method_30277()Lcom/mojang/blaze3d/textures/GpuTexture;official cLfwl;c()Lcom/mojang/blaze3d/textures/GpuTexture;
-
getColorAttachmentView
- Mappings:
Namespace Name Mixin selector named getColorAttachmentViewLnet/minecraft/client/gl/Framebuffer;getColorAttachmentView()Lcom/mojang/blaze3d/textures/GpuTextureView;intermediary method_71639Lnet/minecraft/class_276;method_71639()Lcom/mojang/blaze3d/textures/GpuTextureView;official dLfwl;d()Lcom/mojang/blaze3d/textures/GpuTextureView;
-
getDepthAttachment
- Mappings:
Namespace Name Mixin selector named getDepthAttachmentLnet/minecraft/client/gl/Framebuffer;getDepthAttachment()Lcom/mojang/blaze3d/textures/GpuTexture;intermediary method_30278Lnet/minecraft/class_276;method_30278()Lcom/mojang/blaze3d/textures/GpuTexture;official eLfwl;e()Lcom/mojang/blaze3d/textures/GpuTexture;
-
getDepthAttachmentView
- Mappings:
Namespace Name Mixin selector named getDepthAttachmentViewLnet/minecraft/client/gl/Framebuffer;getDepthAttachmentView()Lcom/mojang/blaze3d/textures/GpuTextureView;intermediary method_71640Lnet/minecraft/class_276;method_71640()Lcom/mojang/blaze3d/textures/GpuTextureView;official fLfwl;f()Lcom/mojang/blaze3d/textures/GpuTextureView;
-