net.minecraft.client.gl

public record SimpleFramebufferFactory

implements ClosableFactory<Framebuffer>

com.mojang.blaze3d.resource.RenderTargetDescriptor
net.minecraft.class_9923
net.minecraft.client.gl.SimpleFramebufferFactory

Field summary

Modifier and TypeField
private final int
width
comp_2978
width
private final int
height
comp_2979
height
private final boolean
useDepth
comp_2980
useDepth
private final int
clearColor
comp_3499
clearColor

Constructor summary

ModifierConstructor
public (int width, int height, boolean useDepth, int clearColor)

Method summary

Modifier and TypeMethod
public Framebuffer
allocate()
method_61955()
create()
public void
prepare(RenderTarget resource)
method_66518(class_276 arg0)
prepare(Framebuffer arg0)
public void
free(RenderTarget resource)
method_61953(class_276 arg0)
close(Framebuffer arg0)
public boolean
canUsePhysicalResource(ResourceDescriptor<?> other)
method_66519(class_9924<?> arg0)
equals(ClosableFactory<?> arg0)
public int
width()
comp_2978()
width()
public int
height()
comp_2979()
height()
public boolean
useDepth()
comp_2980()
useDepth()
public int
clearColor()
comp_3499()
clearColor()
public void
free(Object resource)
method_61954(Object arg0)
close(Object arg0)
public void
prepare(Object resource)
method_66520(Object arg0)
prepare(Object arg0)
public Object
allocate()
method_61955()
create()