net.minecraft.client.gl

public abstract class Framebuffer

com.mojang.blaze3d.pipeline.RenderTarget
net.minecraft.class_276
net.minecraft.client.gl.Framebuffer

Field summary

Modifier and TypeField
private static int
UNNAMED_RENDER_TARGETS
field_56737
index
public int
width
field_1482
textureWidth
public int
height
field_1481
textureHeight
protected final String
label
field_56738
name
public final boolean
useDepth
field_1478
useDepthAttachment
protected GpuTexture
colorTexture
field_1475
colorAttachment
protected GpuTextureView
colorTextureView
field_60567
colorAttachmentView
protected GpuTexture
depthTexture
field_56739
depthAttachment
protected GpuTextureView
depthTextureView
field_60568
depthAttachmentView

Constructor summary

ModifierConstructor
public (String name, boolean useDepthAttachment)

Method summary

Modifier and TypeMethod
public void
resize(int width, int height)
method_1234(int arg0, int arg1)
resize(int width, int height)
public void
destroyBuffers()
method_1238()
delete()
public void
copyDepthFrom(RenderTarget source)
method_29329(class_276 arg0)
copyDepthFrom(Framebuffer framebuffer)
public void
createBuffers(int width, int height)
method_1231(int arg0, int arg1)
initFbo(int width, int height)
public void
blitToScreen()
method_1237()
blitToScreen()
public void
blitAndBlendToTexture(GpuTextureView output)
method_68445(com.mojang.blaze3d.textures.GpuTextureView arg0)
drawBlit(com.mojang.blaze3d.textures.GpuTextureView texture)
public GpuTexture
getColorTexture()
method_30277()
getColorAttachment()
public GpuTextureView
getColorTextureView()
method_71639()
getColorAttachmentView()
public GpuTexture
getDepthTexture()
method_30278()
getDepthAttachment()
public GpuTextureView
getDepthTextureView()
method_71640()
getDepthAttachmentView()
private static String
lambda$blitAndBlendToTexture$0()
method_71167()
method_71167()
private String
lambda$createBuffers$1()
method_67768()
method_67768()
private String
lambda$createBuffers$0()
method_67767()
method_67767()