net.minecraft.client.render

public class RenderLayer

net.minecraft.client.renderer.rendertype.RenderType
net.minecraft.class_1921
net.minecraft.client.render.RenderLayer

Field summary

Modifier and TypeField
private static final int
MEGABYTE
field_64012
field_64012
public static final int
BIG_BUFFER_SIZE
field_64008
field_64008
public static final int
SMALL_BUFFER_SIZE
field_64009
field_64009
public static final int
TRANSIENT_BUFFER_SIZE
field_64010
field_64010
private final RenderSetup
state
field_64013
renderSetup
private final Optional<RenderLayer>
outline
field_64014
affectedOutline
protected final String
name
field_64011
name

Constructor summary

ModifierConstructor
private (String name, RenderSetup renderSetup)

Method summary

Modifier and TypeMethod
static RenderLayer
create(String name, RenderSetup state)
method_75940(String arg0, class_12247 arg1)
of(String name, RenderSetup renderSetup)
public boolean
hasBlending()
method_1_1195()
hasBlend()
public DrawSpec
prepare()
method_1_5226()
getDrawSpec()
private GpuBufferSlice
writeDynamicTransforms(org.joml.Matrix4f modelViewMatrix)
method_1_5227(org.joml.Matrix4f arg0)
setModelViewMatrix(org.joml.Matrix4f matrix)
public VertexFormat
format()
method_23031()
getVertexFormat()
public DrawMode
primitiveTopology()
method_23033()
getDrawMode()
public Optional<RenderLayer>
outline()
method_23289()
getAffectedOutline()
public boolean
isOutline()
method_24295()
isOutline()
public RenderPipeline
pipeline()
method_73243()
getRenderPipeline()
public boolean
affectsCrumbling()
method_1_7462()
hasCrumbling()
public boolean
canConsolidateConsecutiveGeometry()
method_43332()
areVerticesNotShared()
public boolean
sortOnUpload()
method_60894()
isTranslucent()
public boolean
bothSolidAndTranslucent()
method_1_7463()
shouldUseOit()
public boolean
forceSolidModelPhase()
method_23037()
isOpaque()
private static RenderLayer
lambda$new$0(RenderSetup arg0, RenderSetup$TextureBinding arg1)
method_75939(class_12247 arg0, class_12247$class_12338 arg1)
method_75939(RenderSetup arg0, RenderSetup$TextureSpec texture)