Package com.mojang.blaze3d.platform
Class Lighting
java.lang.Object
com.mojang.blaze3d.platform.Lighting
- All Implemented Interfaces:
AutoCloseable
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()voidsetupFor(Lighting.Entry pEntry) private voidupdateBuffer(Lighting.Entry pEntry, Vector3f pLight0, Vector3f pLight1) voidupdateLevel(boolean pNether)
-
Field Details
-
DIFFUSE_LIGHT_0
-
DIFFUSE_LIGHT_1
-
NETHER_DIFFUSE_LIGHT_0
-
NETHER_DIFFUSE_LIGHT_1
-
INVENTORY_DIFFUSE_LIGHT_0
-
INVENTORY_DIFFUSE_LIGHT_1
-
UBO_SIZE
public static final int UBO_SIZE -
buffer
-
paddedSize
private final int paddedSize
-
-
Constructor Details
-
Lighting
public Lighting()
-
-
Method Details
-
updateLevel
public void updateLevel(boolean pNether) -
updateBuffer
-
setupFor
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-