Class MultiVertexConsumer
java.lang.Object
team.lodestar.lodestone.systems.rendering.vertexconsumer.VertexConsumerWrapper
team.lodestar.lodestone.systems.rendering.vertexconsumer.MultiVertexConsumer
- All Implemented Interfaces:
com.mojang.blaze3d.vertex.VertexConsumer,net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
- Direct Known Subclasses:
UVOffsetMultiVertexConsumer
A
VertexConsumer that forwards all calls to multiple other VertexConsumers.
Useful for rendering the same geometry to multiple buffers.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final com.mojang.blaze3d.vertex.VertexConsumer[] -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.mojang.blaze3d.vertex.VertexConsumer[]Methods inherited from class team.lodestar.lodestone.systems.rendering.vertexconsumer.VertexConsumerWrapper
addVertex, setColor, setNormal, setUv, setUv1, setUv2Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.neoforged.neoforge.client.extensions.IVertexConsumerExtension
applyBakedLighting, applyBakedNormals, misc, putBulkDataMethods inherited from interface com.mojang.blaze3d.vertex.VertexConsumer
addVertex, addVertex, addVertex, addVertex, addVertex, putBulkData, putBulkData, setColor, setColor, setLight, setNormal, setOverlay, setWhiteAlpha
-
Field Details
-
consumers
protected final com.mojang.blaze3d.vertex.VertexConsumer[] consumers
-
-
Constructor Details
-
MultiVertexConsumer
public MultiVertexConsumer(com.mojang.blaze3d.vertex.VertexConsumer... consumers)
-
-
Method Details
-
getWrappedConsumers
public com.mojang.blaze3d.vertex.VertexConsumer[] getWrappedConsumers()- Specified by:
getWrappedConsumersin classVertexConsumerWrapper
-