net.minecraft.client.render

public record SimpleFramebufferFactory

implements ClosableFactory<Framebuffer>

com.mojang.blaze3d.resource.RenderTargetDescriptor
net.minecraft.class_9923
net.minecraft.client.render.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 org.joml.Vector4fc
clearColor
comp_3499
clearColor
private final TexelFormat
format
comp_1_795
format

Constructor summary

ModifierConstructor
public (int width, int height, boolean useDepth, org.joml.Vector4fc clearColor, TexelFormat format)

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 org.joml.Vector4fc
clearColor()
comp_3499()
clearColor()
public TexelFormat
format()
comp_1_795()
format()
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()