Class Lightmap
java.lang.Object
net.minecraft.client.renderer.Lightmap
- All Implemented Interfaces:
AutoCloseable
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final intprivate final GpuTexturestatic final intprivate final GpuTextureViewprivate final MappableRingBuffer -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()static floatgetBrightness(DimensionType dimensionType, int level) voidupdate(LightmapRenderState renderState)
-
Field Details
-
TEXTURE_SIZE
public static final int TEXTURE_SIZE- See Also:
-
LIGHTMAP_UBO_SIZE
private static final int LIGHTMAP_UBO_SIZE -
texture
-
textureView
-
ubo
-
-
Constructor Details
-
Lightmap
public Lightmap()
-
-
Method Details
-
getTextureView
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-
update
-
getBrightness
-