Class ChunkCullingDebugRenderer
java.lang.Object
net.minecraft.client.renderer.debug.ChunkCullingDebugRenderer
- All Implemented Interfaces:
DebugRenderer.SimpleDebugRenderer
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddFrustumQuad(VertexConsumer pBuffer, Matrix4f pPose, Vector4f[] pFrustumPoints, int pPoint1, int pPoint2, int pPoint3, int pPoint4, int pRed, int pGreen, int pBlue) private voidaddFrustumVertex(VertexConsumer pBuffer, Matrix4f pPose, Vector4f pPosition) voidrender(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.client.renderer.debug.DebugRenderer.SimpleDebugRenderer
clear
-
Field Details
-
DIRECTIONS
-
minecraft
-
-
Constructor Details
-
ChunkCullingDebugRenderer
-
-
Method Details
-
render
public void render(PoseStack pPoseStack, MultiBufferSource pBufferSource, double pCamX, double pCamY, double pCamZ) - Specified by:
renderin interfaceDebugRenderer.SimpleDebugRenderer
-
addFrustumVertex
-
addFrustumQuad
private void addFrustumQuad(VertexConsumer pBuffer, Matrix4f pPose, Vector4f[] pFrustumPoints, int pPoint1, int pPoint2, int pPoint3, int pPoint4, int pRed, int pGreen, int pBlue)
-