net.minecraft.client.gui.render

public abstract class SpecialGuiElementRenderer<T extends SpecialGuiElementRenderState>

implements AutoCloseable

net.minecraft.client.gui.render.pip.PictureInPictureRenderer
net.minecraft.class_11239
net.minecraft.client.gui.render.SpecialGuiElementRenderer

Field summary

Modifier and TypeField
protected final VertexConsumerProvider$Immediate
bufferSource
field_59933
vertexConsumers
private GpuTexture
texture
field_59935
texture
private GpuTextureView
textureView
field_60572
textureView
private GpuTexture
depthTexture
field_59936
depthTexture
private GpuTextureView
depthTextureView
field_60573
depthTextureView
private final ProjectionMatrix3
projection
field_1_1987
projection
private final ProjectionMatrixBuffer
projectionMatrixBuffer
field_60042
projectionBuffer

Constructor summary

ModifierConstructor
protected (VertexConsumerProvider$Immediate vertexConsumers)

Method summary

Modifier and TypeMethod
public void
prepare(T renderState, GuiRenderState guiRenderState, int guiScale)
method_70913(T arg0, class_11246 arg1, int arg2)
render(T elementState, GuiRenderState state, int windowScaleFactor)
protected void
blitTexture(T renderState, GuiRenderState guiRenderState)
method_72114(T arg0, class_11246 arg1)
renderElement(T element, GuiRenderState state)
private void
prepareTexturesAndProjection(boolean needsAResize, int width, int height)
method_70914(boolean arg0, int arg1, int arg2)
prepareTextures(boolean closePrevious, int width, int height)
protected boolean
textureIsReadyToBlit(T renderState)
method_72113(T arg0)
shouldBypassScaling(T elementRenderer)
protected float
getTranslateY(int height, int guiScale)
method_70907(int arg0, int arg1)
getYOffset(int height, int windowScaleFactor)
public void
close()
public abstract Class<T>
getRenderStateClass()
method_70903()
getElementClass()
protected abstract void
renderToTexture(T renderState, PoseStack poseStack)
method_70905(T arg0, class_4587 arg1)
render(T state, MatrixStack matrices)
protected abstract String
getTextureLabel()
method_70906()
getName()
private String
lambda$prepareTexturesAndProjection$1()
method_70915()
method_70915()
private String
lambda$prepareTexturesAndProjection$0()
method_70916()
method_70916()